<?php
namespace OfficeBrain\Bundle\SeoBundle\Manager\Extended;
use OfficeBrain\Bundle\SeoBundle\Manager\AbstractManager\SeoAbstract;
class SeoExtended extends SeoAbstract
{
	 protected $productid;
	/**
	 * @author Employee Id: 5083
	 * OB eCommerce Product - Seo
	 * Initialize the required variable on class load
	 */
	public function __construct($entityManager, $request, $productDetailManager,$knpPaginator){
		parent::__construct($entityManager, $request, $productDetailManager,$knpPaginator);
	}

	public function __destruct()
	{
		parent::__destruct();
	}
	/**
     * @author Employee Id: 5083
     * OB eCommerce Product - getAdminAllSku
     * Function created to get AllSku
     */
    public function getSeoDetailById($productId)
    {    
    	$this->paginatorRecordSet = $this->seoRepositoryManager->getSeoDetailsById($productId);
        return $this->paginatorRecordSet;
    }

     public function getSeoDetailBySlug($slug)
    {    
    	$this->paginatorRecordSet = $this->seoRepositoryManager->getSeoDetailBySlug($slug);
        return $this->paginatorRecordSet;
    }

	
}