protected function parseSchema($data, $key)
    {
        $this->parseDefined($key);

        if (array_key_exists(self::REQUIRED_KEY, $data)) {
            $this->parseRequired(
                $key,
                $data[self::REQUIRED_KEY]
            );
        }

        if (array_key_exists(self::DEFAULT_VALUE, $data)) {
            $this->parseDefault(
                $key,
                $data[self::DEFAULT_VALUE]
            );
        }
    }
protected function parseSchema($data, $key)
    {
        $this->parseDefined($key);

        if (array_key_exists(self::REQUIRED_KEY, $data)) {
            $this->parseRequired(
                $key,
                $data[self::REQUIRED_KEY]
            );
        }

        if (array_key_exists(self::DEFAULT_VALUE, $data)) {
            $this->parseDefault(
                $key,
                $data[self::DEFAULT_VALUE]
            );
        }
    }
protected function parseSchema ( $ data , $ key ) { $ this -> parseDefined ( $ key ) ; if ( array_key_exists ( self :: REQUIRED_KEY , $ data ) ) { $ this -> parseRequired ( $ key , $ data [ self :: REQUIRED_KEY ] ) ; } if ( array_key_exists ( self :: DEFAULT_VALUE , $ data ) ) { $ this -> parseDefault ( $ key , $ data [ self :: DEFAULT_VALUE ] ) ; } }
Parse a single provided schema entry.

@since 0.1.0

@param mixed  $data The data associated with the key.
@param string $key  The key of the schema data.
Parse a single provided schema entry .