getRedirectsForCabin() публичный Метод

Get the redirects for this particular cabin.
public getRedirectsForCabin ( string $cabin ) : array
$cabin string
Результат array
Пример #1
0
 /**
  * List all of the redirects for a given cabin
  *
  * @param string $cabin
  * @route redirects/{string}
  */
 public function forCabin(string $cabin = '')
 {
     $cabins = $this->getCabinNamespaces();
     if (!\in_array($cabin, $cabins)) {
         \Airship\redirect($this->airship_cabin_prefix);
     }
     $this->setTemplateExtraData($cabin);
     $this->lens('redirect/for_cabin', ['cabin' => $cabin, 'redirects' => $this->pg->getRedirectsForCabin($cabin)]);
 }