src/Repositories/UrlRewriteRepository.php
/**
     * Load's and return's the URL rewrite for the given request path and store ID.
     *
     * @param string $requestPath The request path to load the URL rewrite for
     * @param int    $storeId     The store ID to load the URL rewrite for
     *
     * @return array|null The URL rewrite found for the given request path and store ID
     */
Load's and return's the URL rewrite for the given request path and store ID.
@param string $requestPath The request path to load the URL rewrite for
@param int    $storeId     The store ID to load the URL rewrite for

@return array|null The URL rewrite found for the given request path and store ID
Load ' s and return ' s the URL rewrite for the given request path and store ID . @param string $requestPath The request path to load the URL rewrite for @param int $storeId The store ID to load the URL rewrite for @return array|null The URL rewrite found for the given request path and store ID
public function findOneByRequestPathAndStoreId(string $requestPath, int $storeId)
    {
        $params = array(
            MemberNames::REQUEST_PATH => $requestPath,
            MemberNames::STORE_ID     => $storeId
        );
        return $this->getFinder(SqlStatementKeys::URL_REWRITE_BY_REQUEST_PATH_AND_STORE_ID)->find($params);
    }
public function findOneByRequestPathAndStoreId ( string $ requestPath , int $ storeId ) { $ params = array ( MemberNames :: REQUEST_PATH => $ requestPath , MemberNames :: STORE_ID => $ storeId ) ; return $ this -> getFinder ( SqlStatementKeys :: URL_REWRITE_BY_REQUEST_PATH_AND_STORE_ID ) -> find ( $ params ) ; }
Load's and return's the URL rewrite for the given request path and store ID.
Load ' s and return ' s the URL rewrite for the given request path and store ID .
// initialize the params // load and return the URL rewrite with the passed request path and store ID