src/Phlexible/Component/MetaSet/Model/MetaSetCollection.php
public function add(MetaSetInterface $metaSet)
    {
        $this->metaSets[$metaSet->getId()] = $metaSet;
        $this->nameMap[$metaSet->getName()] = $metaSet->getId();

        return $this;
    }
public function add(MetaSetInterface $metaSet)
    {
        $this->metaSets[$metaSet->getId()] = $metaSet;
        $this->nameMap[$metaSet->getName()] = $metaSet->getId();

        return $this;
    }
public function add ( MetaSetInterface $ metaSet ) { $ this -> metaSets [ $ metaSet -> getId ( ) ] = $ metaSet ; $ this -> nameMap [ $ metaSet -> getName ( ) ] = $ metaSet -> getId ( ) ; return $ this ; }
Add meta set.

@param MetaSetInterface $metaSet

@return $this
Add meta set .