This is published by Orion Magazine as its 2021 Autumn Broadside: https://orionmagazine.org/poetry/poetry-poem-chun-yu/
Poetry
declare(strict_types=1);
use Org\Wplake\Advanced_Views\Bridge\Controllers\Layout\Layout_Controller_Base;
return new class extends Layout_Controller_Base {
/**
* @return array
*/
public function get_variables(): array
{
return [
// “custom_variable” => get_post_meta($this->get_object_id(), “your_field”, true),
// “another_var” => $this->get_custom_arguments()[“another”] ?? “”,
];
}
/**
* @return array
*/
public function get_variables_for_validation(): array
{
// it’s better to return dummy data here [ “custom_variable” => “dummy string”, ]
return $this->get_variables();
}
/**
* @return array
*/
public function get_ajax_response(): array
{
// $message = $this->get_container()->get(MyClass::class)->myMethod();
return [
// “message” => $message,
];
}
/**
* @return array
*/
public function get_rest_api_response(WP_REST_Request $request): array
{
// $input = $request->get_json_params();
// $message = $this->get_container()->get(MyClass::class)->myMethod();
return [
// “message” => $message,
];
}
};
Poems are birds in the kingdoms of languages
Always flying towards each other and paradise
Poetry is a time tunnel through which
You and I gaze at each other
Time immemorial and now
Every year the world is breaking apart
Every year love would not end
Poetry puts death behind you
You in front of my eyes
Our faces remain the same
Poetry turns the past into now
Now into the past
Our breaths remain the same
When poetry loses the borders of languages
You and I fall into boundless silence
Our eyes remain the same
Together, perhaps
We hear the sound of the universe
Together, perhaps
We are in paradise
詩歌
declare(strict_types=1);
use Org\Wplake\Advanced_Views\Bridge\Controllers\Layout\Layout_Controller_Base;
return new class extends Layout_Controller_Base {
/**
* @return array
*/
public function get_variables(): array
{
return [
// “custom_variable” => get_post_meta($this->get_object_id(), “your_field”, true),
// “another_var” => $this->get_custom_arguments()[“another”] ?? “”,
];
}
/**
* @return array
*/
public function get_variables_for_validation(): array
{
// it’s better to return dummy data here [ “custom_variable” => “dummy string”, ]
return $this->get_variables();
}
/**
* @return array
*/
public function get_ajax_response(): array
{
// $message = $this->get_container()->get(MyClass::class)->myMethod();
return [
// “message” => $message,
];
}
/**
* @return array
*/
public function get_rest_api_response(WP_REST_Request $request): array
{
// $input = $request->get_json_params();
// $message = $this->get_container()->get(MyClass::class)->myMethod();
return [
// “message” => $message,
];
}
};