src/Routing/Route.php
protected function findControllerPropertyOptions($name)
    {
        $properties = [];

        foreach ($this->getControllerInstance()->{'get'.ucfirst($name)}() as $property) {
            if (isset($property['options']) && ! $this->optionsApplyToControllerMethod($property['options'])) {
                continue;
            }

            unset($property['options']);

            $properties = array_merge_recursive($properties, $property);
        }

        return $properties;
    }
protected function findControllerPropertyOptions($name)
    {
        $properties = [];

        foreach ($this->getControllerInstance()->{'get'.ucfirst($name)}() as $property) {
            if (isset($property['options']) && ! $this->optionsApplyToControllerMethod($property['options'])) {
                continue;
            }

            unset($property['options']);

            $properties = array_merge_recursive($properties, $property);
        }

        return $properties;
    }
protected function findControllerPropertyOptions ( $ name ) { $ properties = [ ] ; foreach ( $ this -> getControllerInstance ( ) -> { 'get' . ucfirst ( $ name ) } ( ) as $ property ) { if ( isset ( $ property [ 'options' ] ) && ! $ this -> optionsApplyToControllerMethod ( $ property [ 'options' ] ) ) { continue ; } unset ( $ property [ 'options' ] ) ; $ properties = array_merge_recursive ( $ properties , $ property ) ; } return $ properties ; }
Find the controller options and whether or not it will apply to this routes controller method.

@param string $name

@return array
Find the controller options and whether or not it will apply to this routes controller method .