Barryvdh\Elfinder\Console\PublishCommand::getElfinderPath PHP Method

getElfinderPath() protected method

Find the elFinder path from the vendor dir.
protected getElfinderPath ( ) : string
return string
    protected function getElfinderPath()
    {
        $reflector = new \ReflectionClass('elFinder');
        return realpath(dirname($reflector->getFileName()) . '/..');
    }