public function compare(array $schema, array $array)
    {
        try {
            // Check if array is associated
            ArrayException::isAssoc($schema);

        } catch (ArrayException $e) {
            !$this->_strict ?: die();
        }

        $this->_schema = $schema;
    }
public function compare(array $schema, array $array)
    {
        try {
            // Check if array is associated
            ArrayException::isAssoc($schema);

        } catch (ArrayException $e) {
            !$this->_strict ?: die();
        }

        $this->_schema = $schema;
    }
public function compare ( array $ schema , array $ array ) { try { // Check if array is associated ArrayException :: isAssoc ( $ schema ) ; } catch ( ArrayException $ e ) { ! $ this -> _strict ? : die ( ) ; } $ this -> _schema = $ schema ; }
Compare array with array's schema

@param   array $schema - Schema with which need to compare
@param   array $array - Array for comparing
Compare array with array s schema