public function getCardByAlias($alias)
    {
        if (!array_key_exists($alias, $this->aliases)) {
            throw new Exception\NoSuchAliasException(sprintf('Alias "%s" has not been assigned to any cards.', $alias));
        }

        return $this->getCard($this->aliases[$alias]);
    }
public function getCardByAlias($alias)
    {
        if (!array_key_exists($alias, $this->aliases)) {
            throw new Exception\NoSuchAliasException(sprintf('Alias "%s" has not been assigned to any cards.', $alias));
        }

        return $this->getCard($this->aliases[$alias]);
    }
public function getCardByAlias ( $ alias ) { if ( ! array_key_exists ( $ alias , $ this -> aliases ) ) { throw new Exception \ NoSuchAliasException ( sprintf ( 'Alias "%s" has not been assigned to any cards.' , $ alias ) ) ; } return $ this -> getCard ( $ this -> aliases [ $ alias ] ) ; }
Get a card from the reel by an alias.

@param  string $alias
@return mixed
Get a card from the reel by an alias .