title: accessing static method within class variable
body: <p>I have been looking around attempting to find out how to access a stripe static method within my own class. Essentially extending the stripe library.</p>
  
  <p>Within Stripes Documentation the code would look like this:</p>
  
  <pre><code>\Stripe\Customer::create();
  </code></pre>
  
  <p>The code I am attempting to access from the stripe library:</p>
  
  <pre><code>public static function create($params = null, $opts = null)
  {
      return self::_create($params, $opts);
  }
  </code></pre>
  
  <p>Current top of file: </p>
  
  <pre><code>use Stripe\Charge;
  use Stripe\Stripe;
  use Stripe\Customer;
  /**
   * Handles all stripe specific options
   */
  class _Stripe
  {
      protected $charge;
      protected $stripe;
      protected $customer;
      /**
       * Init Stripe Charge
       */
      public function init_charge()
      {
          $this-&gt;charge = new Charge;
      }
      /**
       * Init Stripe Class
       */
      public function init_stripe()
      {
          $this-&gt;stripe = new Stripe;
      }
      /**
       * Init Stripe Customer
       */
      public function init_customer()
      {
          $this-&gt;customer = new Customer;
      }
  </code></pre>
  
  <p>So far I have this: </p>
  
  <pre><code>$this-&gt;customer = new Customer;
  $this-&gt;customer::create(); 
  </code></pre>
  
  <p>which is considered invalid syntax. Is there any possible way for me to do this within my own class?</p>
  
  <p>Things I have tried: </p>
  
  <pre><code>{$this-&gt;customer}::create();
      Got: Unexpected '}'
  </code></pre>
  
  <p>Thanks in advance!</p>