PhpSpec\Locator\PSR0\PSR0Locator::getFullSrcPath PHP Method

getFullSrcPath() public method

public getFullSrcPath ( ) : string
return string
    public function getFullSrcPath()
    {
        return $this->fullSrcPath;
    }

Usage Example

Example #1
0
 /**
  * @return string
  */
 public function getSrcFilename()
 {
     $nsParts = $this->parts;
     $classname = array_pop($nsParts);
     $parts = array_merge($nsParts, explode('_', $classname));
     return $this->locator->getFullSrcPath() . implode(DIRECTORY_SEPARATOR, $parts) . '.php';
 }
All Usage Examples Of PhpSpec\Locator\PSR0\PSR0Locator::getFullSrcPath