src/Shell/Task/QueueEmailTask.php
public function add() {
		$this->err('Queue Email Task cannot be added via Console.');
		$this->out('Please use createJob() on the QueuedTask Model to create a Proper Email Task.');
		$this->out('The Data Array should look something like this:');
		$this->out(var_export([
			'settings' => [
				'to' => 'email@example.com',
				'subject' => 'Email Subject',
				'from' => 'system@example.com',
				'template' => 'sometemplate',
			],
			'content' => 'hello world',
		], true));
		$this->out('Alternativly, you can pass the whole EmailLib to directly use it.');
	}
public function add() {
		$this->err('Queue Email Task cannot be added via Console.');
		$this->out('Please use createJob() on the QueuedTask Model to create a Proper Email Task.');
		$this->out('The Data Array should look something like this:');
		$this->out(var_export([
			'settings' => [
				'to' => 'email@example.com',
				'subject' => 'Email Subject',
				'from' => 'system@example.com',
				'template' => 'sometemplate',
			],
			'content' => 'hello world',
		], true));
		$this->out('Alternativly, you can pass the whole EmailLib to directly use it.');
	}
public function add ( ) { $ this -> err ( 'Queue Email Task cannot be added via Console.' ) ; $ this -> out ( 'Please use createJob() on the QueuedTask Model to create a Proper Email Task.' ) ; $ this -> out ( 'The Data Array should look something like this:' ) ; $ this -> out ( var_export ( [ 'settings' => [ 'to' => 'email@example.com' , 'subject' => 'Email Subject' , 'from' => 'system@example.com' , 'template' => 'sometemplate' , ] , 'content' => 'hello world' , ] , true ) ) ; $ this -> out ( 'Alternativly, you can pass the whole EmailLib to directly use it.' ) ; }
"Add" the task, not possible for QueueEmailTask

@return void
Add the task not possible for QueueEmailTask