title: Laravel 4: use Facade in custom Class
body: <p>I'm developing an app using Laravel 4 and I have a question I'd like to be asked before fully commit to it.</p>
  
  <p>I've created some custom classes and facades that has been added with success to laravel's configuration file.</p>
  
  <p>For example:</p>
  
  <pre><code>namespace Helpers;
  
  class Ftp {
  
      public function connect($data)
      {
          // Do something
      }
  
  }
  </code></pre>
  
  <p>I'm actually using the php's <code>use</code> statement to access to the facades as I do commonly in Laravel:</p>
  
  <pre><code>namespace Helpers;
  
  use Illuminate\Support\Facades\File;
  
  class Ftp {
  
      public function Connect($data)
      {
          $file = File::get('text.txt');
              ...
      }
  
  }
  </code></pre>
  
  <p>Now what's the correct way to use laravel's facades inside a custom class? I don't feel that this is a good choice, expecially thinking about the testability. Any suggestion is appreciated!</p>