Created
January 9, 2015 18:54
-
-
Save jimgwhit/aced44f9448db4c03891 to your computer and use it in GitHub Desktop.
accessor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace App\Model\Entity; | |
use Cake\ORM\Entity; | |
class Article extends Entity | |
{ | |
protected function _getTitle($title) | |
{ | |
return ucwords($title); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment