name = $name; foreach ( $source_properties as $property_name => $property_value ) { $this->$property_name = $property_value; } } public function get_value( array $source_args, $block_instance, string $attribute_name ) { $value = call_user_func_array( $this->get_value_callback, array( $source_args, $block_instance, $attribute_name ) ); return apply_filters( 'block_bindings_source_value', $value, $this->name, $source_args, $block_instance, $attribute_name ); } public function __wakeup() { throw new \LogicException( __CLASS__ . ' should never be unserialized' ); } }