public function guessPackagePath()
    {
        $reflection = new ReflectionClass($this);

        $path = $reflection->getFileName();

        return realpath(dirname($path) .'/../');
    }
public function guessPackagePath()
    {
        $reflection = new ReflectionClass($this);

        $path = $reflection->getFileName();

        return realpath(dirname($path) .'/../');
    }
public function guessPackagePath ( ) { $ reflection = new ReflectionClass ( $ this ) ; $ path = $ reflection -> getFileName ( ) ; return realpath ( dirname ( $ path ) . '/../' ) ; }
Guess the package path for the provider.

@return string
Guess the package path for the provider .