PPI\Framework\Module\AbstractModule::getPath PHP Method

getPath() public method

Gets the Module directory path.
public getPath ( ) : string
return string The Module absolute path
    public function getPath()
    {
        if (null === $this->reflected) {
            $this->reflected = new \ReflectionObject($this);
        }
        return dirname($this->reflected->getFileName());
    }