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

getClassesToScan() protected method

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