public function path(): string
    {
        if (null === $this->parentPath) {
            return $this->name;
        }

        return $this->parentPath . '/' . $this->name;
    }
public function path(): string
    {
        if (null === $this->parentPath) {
            return $this->name;
        }

        return $this->parentPath . '/' . $this->name;
    }
public function path ( ) : string { if ( null === $ this -> parentPath ) { return $ this -> name ; } return $ this -> parentPath . '/' . $ this -> name ; }
returns path to this content

@return  string
@since   1.2.0
returns path to this content