Skip to content
Permalink
Browse files

Change method visibility from public to protected

  • Loading branch information...
chinpei215 committed Dec 28, 2016
1 parent 3c56b12 commit 5ab3f673990dd04ca0174eab299b6c65aa0372ce
@@ -35,7 +35,7 @@ trait MailerAwareTrait
* @return \Cake\Mailer\Mailer
* @throws \Cake\Mailer\Exception\MissingMailerException if undefined mailer class.
*/
public function getMailer($name, Email $email = null)
protected function getMailer($name, Email $email = null)
{
if ($email === null) {
$email = new Email();
@@ -55,7 +55,7 @@ trait CellTrait
* @throws \Cake\View\Exception\MissingCellException If Cell class was not found.
* @throws \BadMethodCallException If Cell class does not specified cell action.
*/
public function cell($cell, array $data = [], array $options = [])
protected function cell($cell, array $data = [], array $options = [])
{
$parts = explode('::', $cell);
@@ -73,7 +73,9 @@
class View implements EventDispatcherInterface
{
use CellTrait;
use CellTrait {
cell as public;
}
use EventDispatcherTrait;
use LogTrait;
use RequestActionTrait;
@@ -23,7 +23,9 @@
class Stub
{
use MailerAwareTrait;
use MailerAwareTrait {
getMailer as public;
}
}
/**

0 comments on commit 5ab3f67

Please sign in to comment.
You can’t perform that action at this time.