public function getBySlug($id, $data = null)
    {
        $data = $this->includeEverything($data);
        return parent::getBySlug($id, $data);
    }
public function getBySlug($id, $data = null)
    {
        $data = $this->includeEverything($data);
        return parent::getBySlug($id, $data);
    }
public function getBySlug ( $ id , $ data = null ) { $ data = $ this -> includeEverything ( $ data ) ; return parent :: getBySlug ( $ id , $ data ) ; }
Fetch a post by it's slug

@param  int   $slug The slug of the object to fetch
@param  mixed $data Any data to pass to getCountCommon()

@return stdClass
Fetch a post by it s slug