Adamgoose\Events\Annotations\Scanner::getClassesToScan PHP Method

getClassesToScan() protected method

Get all of the ReflectionClass instances in the scan path.
protected getClassesToScan ( ) : array
return array
    protected function getClassesToScan()
    {
        $classes = [];
        foreach ($this->scan as $class) {
            try {
                $classes[] = new ReflectionClass($class);
            } catch (Exception $e) {
                //
            }
        }
        return $classes;
    }