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

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

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

@param ReflectionClass|ReflectionProperty|ReflectionMethod $reflection

@return \Illuminate\Support\Collection
Reads the specified annotation name given for the target .