public function getPagePublishDirectory(Page $page)
    {
        return $this->getPublishDirectory().
            rtrim(DIRECTORY_SEPARATOR.$page->getSubFolder(), DIRECTORY_SEPARATOR);
    }
public function getPagePublishDirectory(Page $page)
    {
        return $this->getPublishDirectory().
            rtrim(DIRECTORY_SEPARATOR.$page->getSubFolder(), DIRECTORY_SEPARATOR);
    }
public function getPagePublishDirectory ( Page $ page ) { return $ this -> getPublishDirectory ( ) . rtrim ( DIRECTORY_SEPARATOR . $ page -> getSubFolder ( ) , DIRECTORY_SEPARATOR ) ; }
Return the directory to which the page should be published.

@return string
Return the directory to which the page should be published .