interfaces[ $key ] ) ? $this->interfaces[ $key ] : false; } /** * Set up interfaces * * @param array $args * * @since 3.4 */ protected function set_vars( $args = array() ) { $keys = array( 'schema', 'table', 'query', 'object', 'meta' ); foreach ( $args as $key => $value ) { if ( in_array( $key, $keys, true ) && class_exists( $value ) ) { $this->interfaces[ $key ] = new $value; } else { $this->{$key} = $value; } } } }