Airship\Engine\Continuum::getEndPiece PHP Method

getEndPiece() private method

Get the last piece of a path
private getEndPiece ( string $fullPath ) : string
$fullPath string
return string
    private function getEndPiece(string $fullPath) : string
    {
        $trimmedPath = \trim($fullPath . '/');
        $arr = \explode('/', $trimmedPath);
        return \array_pop($arr);
    }