Xpressengine\Interception\Proxy\ProxyConfig::getTargetPath PHP Method

getTargetPath() public method

타겟 클래스의 파일 경로를 조회한다.
public getTargetPath ( ) : string
return string
    public function getTargetPath()
    {
        $this->resolveRfc();
        return $this->rfc->getFileName();
    }

Usage Example

コード例 #1
0
 public function testGetTargetPath()
 {
     $config = new ProxyConfig('\\Xpressengine\\Tests\\ProxyConfigTest\\TestTargetClass');
     $path = $config->getTargetPath();
     $this->assertEquals(__FILE__, $path);
 }
All Usage Examples Of Xpressengine\Interception\Proxy\ProxyConfig::getTargetPath