<?php

namespace SEOPress\Services\Metas\Description\Specifications;

use SEOPress\Constants\MetasDefaultValues;

class DefaultDescriptionSpecification
{

    /**
     * @param array $params [
     *     'context' => array
     *
     * ]
     * @return string
     */
    public function getValue($params) {
        $value = MetasDefaultValues::getPostTypeDescriptionValue();
        $context = $params['context'];

        return seopress_get_service('TagsToString')->replace($value, $context);
    }



    /**
     *
     * @param array $params [
     *     'post' => \WP_Post
     *     'title' => string
     *     'context' => array
     *
     * ]
     * @return boolean
     */
    public function isSatisfyBy($params)
    {
       return true;

    }
}





