src/fixes/Mixin.php
function bindTo($class)
    {
        if (!is_object($class))
            throw new \Exception(sprintf(
                'Given class must be an object (%s) given.'
                , \Poirot\Std\flatten($class)
            ));

        $this->_t__bindTo = $class;

        return $this;
    }
function bindTo($class)
    {
        if (!is_object($class))
            throw new \Exception(sprintf(
                'Given class must be an object (%s) given.'
                , \Poirot\Std\flatten($class)
            ));

        $this->_t__bindTo = $class;

        return $this;
    }
function bindTo ( $ class ) { if ( ! is_object ( $ class ) ) throw new \ Exception ( sprintf ( 'Given class must be an object (%s) given.' , \ Poirot \ Std \ flatten ( $ class ) ) ) ; $ this -> _t__bindTo = $ class ; return $ this ; }
Bind Current Methods to Given Object

@param $class

@throws \Exception
@return $this
Bind Current Methods to Given Object