src/Core/ChainCollection.php
public function init($manager, array $values, string $param = 'default')
    {
        $chain = resolve('heyman.chain');
        $chain->set('manager', $manager);
        $chain->set('watchedEntities', $values);
        $chain->set('event', $param);
    }
public function init($manager, array $values, string $param = 'default')
    {
        $chain = resolve('heyman.chain');
        $chain->set('manager', $manager);
        $chain->set('watchedEntities', $values);
        $chain->set('event', $param);
    }
public function init ( $ manager , array $ values , string $ param = 'default' ) { $ chain = resolve ( 'heyman.chain' ) ; $ chain -> set ( 'manager' , $ manager ) ; $ chain -> set ( 'watchedEntities' , $ values ) ; $ chain -> set ( 'event' , $ param ) ; }
initialize the chain.

@param $manager
@param array  $values
@param string $param
initialize the chain .