public function setContainer($container)
    {
        if (!is_array($container) && !$container instanceof \ArrayAccess) {
            throw new InvalidArgumentException('array or ArrayAccess Object', 0);
        }

        $this->container = $container;

        return $this;
    }
public function setContainer($container)
    {
        if (!is_array($container) && !$container instanceof \ArrayAccess) {
            throw new InvalidArgumentException('array or ArrayAccess Object', 0);
        }

        $this->container = $container;

        return $this;
    }
public function setContainer ( $ container ) { if ( ! is_array ( $ container ) && ! $ container instanceof \ ArrayAccess ) { throw new InvalidArgumentException ( 'array or ArrayAccess Object' , 0 ) ; } $ this -> container = $ container ; return $ this ; }
Set the receiving container of the parsed htaccess

@api
@param mixed $container Can be an array, an ArrayObject or an object that implements ArrayAccess
@return $this
@throws InvalidArgumentException
Set the receiving container of the parsed htaccess