public static function fromCallable(callable $callable)
    {
        $reflection = Reflection::fromCallable($callable);

        return new self(
                $callable,
                $reflection,
                FunctionSignature::fromReflection($reflection),
                FunctionLocation::fromReflection($reflection),
                FunctionScope::fromReflection($reflection, $callable));
    }
public static function fromCallable(callable $callable)
    {
        $reflection = Reflection::fromCallable($callable);

        return new self(
                $callable,
                $reflection,
                FunctionSignature::fromReflection($reflection),
                FunctionLocation::fromReflection($reflection),
                FunctionScope::fromReflection($reflection, $callable));
    }
public static function fromCallable ( callable $ callable ) { $ reflection = Reflection :: fromCallable ( $ callable ) ; return new self ( $ callable , $ reflection , FunctionSignature :: fromReflection ( $ reflection ) , FunctionLocation :: fromReflection ( $ reflection ) , FunctionScope :: fromReflection ( $ reflection , $ callable ) ) ; }
Creates a new function reflection instance from the supplied callable.

@param callable $callable

@return self
Creates a new function reflection instance from the supplied callable .