src/Utils/Breadcrumb.php
public function isLast($key)
    {
        if (null === $this->lastKey) {
            end($this->hierarchy);
            $this->lastKey = key($this->hierarchy);
        }

        return $key === $this->lastKey;
    }
public function isLast($key)
    {
        if (null === $this->lastKey) {
            end($this->hierarchy);
            $this->lastKey = key($this->hierarchy);
        }

        return $key === $this->lastKey;
    }
public function isLast ( $ key ) { if ( null === $ this -> lastKey ) { end ( $ this -> hierarchy ) ; $ this -> lastKey = key ( $ this -> hierarchy ) ; } return $ key === $ this -> lastKey ; }
Check if key is las key
@param  mixed  $key
@return boolean
Check if key is las key