Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Application\Model;
- use Zend\Db\TableGateway\TableGateway;
- class ProdutoTable
- {
- protected $tableGateway;
- public function __construct(TableGateway $tableGateway)
- {
- $this->tableGateway = $tableGateway;
- }
- public function fetchAll()
- {
- $resultSet = $this->tableGateway->select();
- return $resultSet;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement