src/Repositories/CategoryRepository.php
public function init()
    {

        // initialize the prepared statements
        $this->categoriesStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::CATEGORIES));
        $this->rootCategoriesStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::ROOT_CATEGORIES));
        $this->categoriesByStoreViewStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::CATEGORIES_BY_STORE_VIEW));
    }
public function init()
    {

        // initialize the prepared statements
        $this->categoriesStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::CATEGORIES));
        $this->rootCategoriesStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::ROOT_CATEGORIES));
        $this->categoriesByStoreViewStmt =
            $this->getConnection()->prepare($this->loadStatement(SqlStatementKeys::CATEGORIES_BY_STORE_VIEW));
    }
Initializes the repository's prepared statements.

@return void