protected static function _mixin($identifier, $instance)
    {
        if (isset(self::$_mixins[$identifier]) && $instance instanceof AnObject) {
            $mixins = self::$_mixins[$identifier];

            foreach ($mixins as $mixin) {
                $instance->mixin($mixin, self::getConfig($mixin));
            }
        }
    }
protected static function _mixin($identifier, $instance)
    {
        if (isset(self::$_mixins[$identifier]) && $instance instanceof AnObject) {
            $mixins = self::$_mixins[$identifier];

            foreach ($mixins as $mixin) {
                $instance->mixin($mixin, self::getConfig($mixin));
            }
        }
    }
protected static function _mixin ( $ identifier , $ instance ) { if ( isset ( self :: $ _mixins [ $ identifier ] ) && $ instance instanceof AnObject ) { $ mixins = self :: $ _mixins [ $ identifier ] ; foreach ( $ mixins as $ mixin ) { $ instance -> mixin ( $ mixin , self :: getConfig ( $ mixin ) ) ; } } }
Perform the actual mixin of all registered mixins with an object

@param	mixed	An object that implements AnObjectServiceable, AnServiceIdentifier object
or valid identifier string
@param   object  A AnObject instance to used as the mixer
@return void
Perform the actual mixin of all registered mixins with an object