src/Alchemy/Component/Cerberus/Model/Base/User.php
public function initRoles()
    {
        $this->collRoles = new ObjectCollection();
        $this->collRolesPartial = true;

        $this->collRoles->setModel('\Alchemy\Component\Cerberus\Model\Role');
    }
public function initRoles()
    {
        $this->collRoles = new ObjectCollection();
        $this->collRolesPartial = true;

        $this->collRoles->setModel('\Alchemy\Component\Cerberus\Model\Role');
    }
public function initRoles ( ) { $ this -> collRoles = new ObjectCollection ( ) ; $ this -> collRolesPartial = true ; $ this -> collRoles -> setModel ( '\Alchemy\Component\Cerberus\Model\Role' ) ; }
Initializes the collRoles collection.

By default this just sets the collRoles collection to an empty collection (like clearRoles());
however, you may wish to override this method in your stub class to provide setting appropriate
to your application -- for example, setting the initial array to the values stored in database.

@return void
Initializes the collRoles collection .