List All Classes And Methods In A Script File
<p>I would like to output to an array all classes and their methods names as well as method type (public, private, protected) to an array after picking a particular script file. </p>

<p>This will be used to create a permissions system, where an admin can specify what classes a particular user group may access.</p>

<p>For instance say in the script file test.php it has the following:</p>

<pre><code>class test{

public function dostuff(){

}

private function hide(){

}
}
</code></pre>

<p>It should give me a list like this:
class: test
methods:
    dostuff (public)
    hide (private)</p>
