public function getCoreBasePath()
    {
        $pathWithoutLeadingAndTrailingSlashes = trim(trim($this->path), "/");
        $pathWithoutLastSegment = substr($pathWithoutLeadingAndTrailingSlashes, 0, strrpos($pathWithoutLeadingAndTrailingSlashes, "/"));
        return '/' . $pathWithoutLastSegment . '/';
    }
public function getCoreBasePath()
    {
        $pathWithoutLeadingAndTrailingSlashes = trim(trim($this->path), "/");
        $pathWithoutLastSegment = substr($pathWithoutLeadingAndTrailingSlashes, 0, strrpos($pathWithoutLeadingAndTrailingSlashes, "/"));
        return '/' . $pathWithoutLastSegment . '/';
    }
public function getCoreBasePath ( ) { $ pathWithoutLeadingAndTrailingSlashes = trim ( trim ( $ this -> path ) , "/" ) ; $ pathWithoutLastSegment = substr ( $ pathWithoutLeadingAndTrailingSlashes , 0 , strrpos ( $ pathWithoutLeadingAndTrailingSlashes , "/" ) ) ; return '/' . $ pathWithoutLastSegment . '/' ; }
Returns the core name from the configured path without the core name.

@return string
Returns the core name from the configured path without the core name .