public function getPages(ECParams $params)
    {
        $stmtManager = $this->getStatementManager(Simple::class);

        /** @var Select $stmtBuilder */
        $stmtBuilder = $stmtManager->getStatementBuilder(Select::class);

        /** @var PageCollection $collection */
        $collection = $stmtManager->setStatement($stmtBuilder->setColumns(['stub']))
            ->execute();

        return $collection->setEcParams($params);
    }
public function getPages(ECParams $params)
    {
        $stmtManager = $this->getStatementManager(Simple::class);

        /** @var Select $stmtBuilder */
        $stmtBuilder = $stmtManager->getStatementBuilder(Select::class);

        /** @var PageCollection $collection */
        $collection = $stmtManager->setStatement($stmtBuilder->setColumns(['stub']))
            ->execute();

        return $collection->setEcParams($params);
    }
public function getPages ( ECParams $ params ) { $ stmtManager = $ this -> getStatementManager ( Simple :: class ) ; /** @var Select $stmtBuilder */ $ stmtBuilder = $ stmtManager -> getStatementBuilder ( Select :: class ) ; /** @var PageCollection $collection */ $ collection = $ stmtManager -> setStatement ( $ stmtBuilder -> setColumns ( [ 'stub' ] ) ) -> execute ( ) ; return $ collection -> setEcParams ( $ params ) ; }
Get all Pages.

@ApiAction()

@return PageCollection
Get all Pages .