protected function _find($id)
    {
        $data = $this->db->get($this->table, '*', ['id' => $id]);

        if (empty($data)) {
            return false;
        }

        return $this->setProperties($data);
    }
protected function _find($id)
    {
        $data = $this->db->get($this->table, '*', ['id' => $id]);

        if (empty($data)) {
            return false;
        }

        return $this->setProperties($data);
    }
protected function _find ( $ id ) { $ data = $ this -> db -> get ( $ this -> table , '*' , [ 'id' => $ id ] ) ; if ( empty ( $ data ) ) { return false ; } return $ this -> setProperties ( $ data ) ; }
Find item by ID.

@param $id
@return mixed
Find item by ID .