Cake\Controller\Controller::set(string $var, mixed $value)

时间:2018-03-23 00:32:17

标签: cakephp

Cake\Controller\Controller::set(string $var, mixed $value) is mentioned in the cakePHP 3.5 Red Velvet cookbook as the way to set View variables. It works as advertised I am happy to say.

In which cakePHP source file is Controller::set() method implemented?

A search for Controller::set() in the cakePHP 3.5 Red Velvet API reveals nothing. C:\cake\myProject\vendor\cakephp\cakephp\src\Controller\controller.php reveals nothing either.

1 个答案:

答案 0 :(得分:2)