I have custom mailer function
/**
* User mailer.
*/
class UserMailer extends Mailer
{
/**
* userPassword method
*
* @param object $data User data
*/
public function userPassword(object $data): \Cake\View\ViewBuilder
{
How do I please define an annotation for the table = $data so that it can tell me which column I can choose?
In view is:
* @var \App\Model\Entity\User[]|\Cake\Collection\CollectionInterface $data
Thank you