private function validateRedirections()
    {
        foreach ($this->redirections as $redirection)
        {
            if(!(
                array_key_exists('source', $redirection)
                &&
                array_key_exists('target', $redirection)
                &&
                array_key_exists('type', $redirection)
            ))
            {
                throw new ConfigurationException("Invalid redirection line: " . implode(',', $redirection) . ".");
            }
        }
    }
private function validateRedirections()
    {
        foreach ($this->redirections as $redirection)
        {
            if(!(
                array_key_exists('source', $redirection)
                &&
                array_key_exists('target', $redirection)
                &&
                array_key_exists('type', $redirection)
            ))
            {
                throw new ConfigurationException("Invalid redirection line: " . implode(',', $redirection) . ".");
            }
        }
    }
private function validateRedirections ( ) { foreach ( $ this -> redirections as $ redirection ) { if ( ! ( array_key_exists ( 'source' , $ redirection ) && array_key_exists ( 'target' , $ redirection ) && array_key_exists ( 'type' , $ redirection ) ) ) { throw new ConfigurationException ( "Invalid redirection line: " . implode ( ',' , $ redirection ) . "." ) ; } } }
Validate redirections configuration

@throws ConfigurationException
@return void
Validate redirections configuration