protected function getReflectionFrom($argument)
    {
        // Method name to use.
        $reflectionMethodName = Str::camel('getreflection'.$this->target.'from');

        // Return Reflection
        return $this->{$reflectionMethodName}($argument);
    }
protected function getReflectionFrom($argument)
    {
        // Method name to use.
        $reflectionMethodName = Str::camel('getreflection'.$this->target.'from');

        // Return Reflection
        return $this->{$reflectionMethodName}($argument);
    }
protected function getReflectionFrom ( $ argument ) { // Method name to use. $ reflectionMethodName = Str :: camel ( 'getreflection' . $ this -> target . 'from' ) ; // Return Reflection return $ this -> { $ reflectionMethodName } ( $ argument ) ; }
Get the ReflectionClass from an argument.
be it an object or a class name.

@param mixed $argument

@return ReflectionClass|ReflectionMethod|ReflectionProperty
Get the ReflectionClass from an argument . be it an object or a class name .