src/Model/Entity/Page.php
public function getStatus()
    {
        if (isset($this->_statuses[(int) $this->status])) {
            return $this->_statuses[(int) $this->status];
        }
        throw new \Exception('Status "' . $this->status . '" not found for Page with id ' . $this->id . '.');
    }
public function getStatus()
    {
        if (isset($this->_statuses[(int) $this->status])) {
            return $this->_statuses[(int) $this->status];
        }
        throw new \Exception('Status "' . $this->status . '" not found for Page with id ' . $this->id . '.');
    }
public function getStatus ( ) { if ( isset ( $ this -> _statuses [ ( int ) $ this -> status ] ) ) { return $ this -> _statuses [ ( int ) $ this -> status ] ; } throw new \ Exception ( 'Status "' . $ this -> status . '" not found for Page with id ' . $ this -> id . '.' ) ; }
Retrieve the current status of a page.

@return mixed
@throws \Exception
Retrieve the current status of a page .