__construct() public method

Create a new scanner instance.
public __construct ( array $scan ) : void
$scan array
return void
Example #1
0
 /**
  * @param Application $app
  */
 public function __construct(Application $app, array $scan)
 {
     $this->app = $app;
     //TODO option to set automatically $namespaces & annotationRegistery for simpler & faster config
     parent::__construct($scan);
 }