src/AttachableTrait.php
public function attach($attaches)
    {
        foreach ($this->prepareAttaches($attaches) as $attach) {
            $this->addAttach($attach);
        }

        return true;
    }
public function attach($attaches)
    {
        foreach ($this->prepareAttaches($attaches) as $attach) {
            $this->addAttach($attach);
        }

        return true;
    }
{@inheritdoc}