protected function addManyRelation(string $relation)
    {
        if (!in_array($relation, $this->manyRelations)) {
            $this->manyRelations[] = $relation;
        }
    }
protected function addManyRelation(string $relation)
    {
        if (!in_array($relation, $this->manyRelations)) {
            $this->manyRelations[] = $relation;
        }
    }
protected function addManyRelation ( string $ relation ) { if ( ! in_array ( $ relation , $ this -> manyRelations ) ) { $ this -> manyRelations [ ] = $ relation ; } }
Add a many relation method name once.

@param string $relation
Add a many relation method name once .