src/Repositories/UrlRewriteRepository.php
/**
     * Initializes the repository's prepared statements.
     *
     * @return void
     */
Initializes the repository's prepared statements.
@return void
Initializes the repository ' s prepared statements . @return void
public function init()
    {
        $this->addFinder($this->finderFactory->createFinder($this, SqlStatementKeys::STORES));
        $this->addFinder($this->finderFactory->createFinder($this, SqlStatementKeys::URL_REWRITES));
        $this->addFinder($this->finderFactory->createFinder($this, SqlStatementKeys::URL_REWRITE_BY_REQUEST_PATH_AND_STORE_ID));
        $this->addFinder($this->finderFactory->createFinder($this, SqlStatementKeys::URL_REWRITES_BY_ENTITY_TYPE_AND_ENTITY_ID));
        $this->addFinder($this->finderFactory->createFinder($this, SqlStatementKeys::URL_REWRITES_BY_ENTITY_TYPE_AND_ENTITY_ID_AND_STORE_ID));
    }
public function init ( ) { $ this -> addFinder ( $ this -> finderFactory -> createFinder ( $ this , SqlStatementKeys :: STORES ) ) ; $ this -> addFinder ( $ this -> finderFactory -> createFinder ( $ this , SqlStatementKeys :: URL_REWRITES ) ) ; $ this -> addFinder ( $ this -> finderFactory -> createFinder ( $ this , SqlStatementKeys :: URL_REWRITE_BY_REQUEST_PATH_AND_STORE_ID ) ) ; $ this -> addFinder ( $ this -> finderFactory -> createFinder ( $ this , SqlStatementKeys :: URL_REWRITES_BY_ENTITY_TYPE_AND_ENTITY_ID ) ) ; $ this -> addFinder ( $ this -> finderFactory -> createFinder ( $ this , SqlStatementKeys :: URL_REWRITES_BY_ENTITY_TYPE_AND_ENTITY_ID_AND_STORE_ID ) ) ; }
Initializes the repository's prepared statements.
Initializes the repository ' s prepared statements .
// initialize the prepared statements