protected function getStatusData($identifier)
    {
        foreach ($this->options['statuses'] as $status) {
            if ((int)$status['id'] === (int)$identifier) {
                return $status;
            }
        }

        return null;
    }
protected function getStatusData($identifier)
    {
        foreach ($this->options['statuses'] as $status) {
            if ((int)$status['id'] === (int)$identifier) {
                return $status;
            }
        }

        return null;
    }
protected function getStatusData ( $ identifier ) { foreach ( $ this -> options [ 'statuses' ] as $ status ) { if ( ( int ) $ status [ 'id' ] === ( int ) $ identifier ) { return $ status ; } } return null ; }
Returns status information

@param int $identifier

@return array|null
Returns status information