public function allowOrigin(array $excepted)
    {
        if (!is_array($excepted)) {
            throw new AccessControlException(
                'Attend un tableau.' . gettype($excepted) . ' donner.',
                E_USER_ERROR
            );
        }

        return $this->push(
            'Access-Control-Allow-Origin',
            implode(', ', $excepted)
        );
    }
public function allowOrigin(array $excepted)
    {
        if (!is_array($excepted)) {
            throw new AccessControlException(
                'Attend un tableau.' . gettype($excepted) . ' donner.',
                E_USER_ERROR
            );
        }

        return $this->push(
            'Access-Control-Allow-Origin',
            implode(', ', $excepted)
        );
    }
public function allowOrigin ( array $ excepted ) { if ( ! is_array ( $ excepted ) ) { throw new AccessControlException ( 'Attend un tableau.' . gettype ( $ excepted ) . ' donner.' , E_USER_ERROR ) ; } return $ this -> push ( 'Access-Control-Allow-Origin' , implode ( ', ' , $ excepted ) ) ; }
Active Access-control-Allow-Origin

@param  array $excepted [optional]
@return AccessControl
@throws
Active Access - control - Allow - Origin