public function setDescription($objectData, $customData = [])
    {
        $this->set('description', $customData['description']);
        // Custom description
        if(isset($customData['description'])) {
            $this->set('description', $customData['description']);
        }else{
            // Avoid duplicate meta tags
            if(!$this->metaExists('description') && isset($objectData->description)) {
                $this->set('description', $objectData->description);
            }
        }

        return $this;
    }
public function setDescription($objectData, $customData = [])
    {
        $this->set('description', $customData['description']);
        // Custom description
        if(isset($customData['description'])) {
            $this->set('description', $customData['description']);
        }else{
            // Avoid duplicate meta tags
            if(!$this->metaExists('description') && isset($objectData->description)) {
                $this->set('description', $objectData->description);
            }
        }

        return $this;
    }
public function setDescription ( $ objectData , $ customData = [ ] ) { $ this -> set ( 'description' , $ customData [ 'description' ] ) ; // Custom description if ( isset ( $ customData [ 'description' ] ) ) { $ this -> set ( 'description' , $ customData [ 'description' ] ) ; } else { // Avoid duplicate meta tags if ( ! $ this -> metaExists ( 'description' ) && isset ( $ objectData -> description ) ) { $ this -> set ( 'description' , $ objectData -> description ) ; } } return $ this ; }
Set meta description

@param  object $objectData
@param  array  $customData
@return $this
Set meta description