public function findAll()
    {
        $this->checkDb();
        return $this->db->connect()
                        ->select()
                        ->from($this->tableName)
                        ->execute()
                        ->fetchAllClass(get_class($this));
    }
public function findAll()
    {
        $this->checkDb();
        return $this->db->connect()
                        ->select()
                        ->from($this->tableName)
                        ->execute()
                        ->fetchAllClass(get_class($this));
    }
public function findAll ( ) { $ this -> checkDb ( ) ; return $ this -> db -> connect ( ) -> select ( ) -> from ( $ this -> tableName ) -> execute ( ) -> fetchAllClass ( get_class ( $ this ) ) ; }
Find and return all.

@return array of object of this class
Find and return all .