public function getPageByUid(int $uid, int $languageUid = null) {
    return $this->getPage($uid, $languageUid);
  }
public function getPageByUid(int $uid, int $languageUid = null) {
    return $this->getPage($uid, $languageUid);
  }
public function getPageByUid ( int $ uid , int $ languageUid = null ) { return $ this -> getPage ( $ uid , $ languageUid ) ; }
Gets a page by UID.

Alias for `getPage`.

@param int $uid The UID of the page
@param int $languageUid The optional language UID, defaults to the UID of the current system language
@return array|null The row for the page or null if no page was found
Gets a page by UID .