protected function readAllAnnotationsFor($reflection)
    {
        // Construct Method to be used for reading.
        $methodName = $this->constructReadMethod();

        // Read, Collect and return annotations.
        return collect($this->reader->{$methodName}($reflection));
    }
protected function readAllAnnotationsFor($reflection)
    {
        // Construct Method to be used for reading.
        $methodName = $this->constructReadMethod();

        // Read, Collect and return annotations.
        return collect($this->reader->{$methodName}($reflection));
    }
protected function readAllAnnotationsFor ( $ reflection ) { // Construct Method to be used for reading. $ methodName = $ this -> constructReadMethod ( ) ; // Read, Collect and return annotations. return collect ( $ this -> reader -> { $ methodName } ( $ reflection ) ) ; }
Reads all the annotations for the given target.

@param ReflectionClass|ReflectionProperty|ReflectionMethod $reflection

@return \Illuminate\Support\Collection
Reads all the annotations for the given target .