Xpressengine\Plugin\AbstractPlugin::path PHP Method

path() public static method

path가 주어질 경우, 주어진 path정보를 추가하여 반환한다.
public static path ( string $path = '' ) : string
$path string path
return string
    public static function path($path = '')
    {
        $reflector = new ReflectionClass(static::class);
        return dirname($reflector->getFileName()) . ($path ? DIRECTORY_SEPARATOR . $path : $path);
    }