public function afterFind ()
    {
        parent::afterFind();
        $boolArguments = [
            'is_repeating_task',
            'notify_initiator',
            'email_notification',
            'delete_after_run',
        ];
        foreach ($boolArguments as $argument) {
            $this->$argument = boolval($this->$argument);
        }
    }
public function afterFind ()
    {
        parent::afterFind();
        $boolArguments = [
            'is_repeating_task',
            'notify_initiator',
            'email_notification',
            'delete_after_run',
        ];
        foreach ($boolArguments as $argument) {
            $this->$argument = boolval($this->$argument);
        }
    }
public function afterFind ( ) { parent :: afterFind ( ) ; $ boolArguments = [ 'is_repeating_task' , 'notify_initiator' , 'email_notification' , 'delete_after_run' , ] ; foreach ( $ boolArguments as $ argument ) { $ this -> $ argument = boolval ( $ this -> $ argument ) ; } }
Performs some afterFind stuff like casting variables to correct type
Performs some afterFind stuff like casting variables to correct type