Run Function after returning from class constructor
<p>So i have a class that is say called <i>ClassOne</i> and I call the constructor like so:</p>

<pre><code>$myclass = new ClassOne(TRUE);
</code></pre>

<p>I would like to have the class return the instance of itself then run a command in the background from the class without slowing down the generation of the page that requires the class.</p>

<pre><code>class ClassOne {
  function __construct( $bool ) {
    if( $bool ) {
      call_me_in_background( $this-&gt;background() );
    }
  }

  function background() {
    //Do stuff...
  }
}
</code></pre>
