getBest example

#[Package('inventory')] class AnalyzedKeywordCollection extends Collection
{
    /** * @param AnalyzedKeyword $element */
    public function add($element): void
    {
        $this->validateType($element);

        $keyword = $element->getKeyword();
        $this->elements[$keyword] = $this->getBest($element$keyword);
    }

    /** * @param string|int $key * @param AnalyzedKeyword $element */
    public function set($key$element): void
    {
        $this->validateType($element);

        $this->elements[$element->getKeyword()] = $element;
    }
Home | Imprint | This part of the site doesn't use cookies.