original_string: public function beforeSave(Event $event, Aco $aco)
      {
          if ($aco->isNew()) {
              $aco->set('alias_hash', md5($aco->alias));
          }
      }
code: public function beforeSave(Event $event, Aco $aco)
      {
          if ($aco->isNew()) {
              $aco->set('alias_hash', md5($aco->alias));
          }
      }
code_tokens: public function beforeSave ( Event $ event , Aco $ aco ) { if ( $ aco -> isNew ( ) ) { $ aco -> set ( 'alias_hash' , md5 ( $ aco -> alias ) ) ; } }
docstring: We create a hash of "alias" property so we can perform
  case sensitive SQL comparisons.
  
  @param \Cake\Event\Event $event The event that was triggered
  @param \User\Model\Entity\Aco $aco ACO entity being saved
  @return void
docstring_tokens: We create a hash of alias property so we can perform case sensitive SQL comparisons .