Sulu\Bundle\ContactBundle\Contact\ContactManagerInterface::setMainForCollection PHP Method

setMainForCollection() public method

sets the first element to main, if none is set.
public setMainForCollection ( $arrayCollection )
$arrayCollection
    public function setMainForCollection($arrayCollection);