for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @namespace
*/
namespace Application\Push;
use Bluz\Validator\Traits\Validator;
* Class Row for `push`
*
* @package Application\Push
* @property integer $id
* @property integer $userId
* @property string $authToken
* @property string $contentEncoding
* @property string $endpoint
* @property string $publicKey
* @property string $created
* @property string $updated
* @author Anton Shevchuk
* @created 2018-11-07 18:33:01
class Row extends \Bluz\Db\Row
{
use Validator;
* @return void
public function beforeInsert(): void
}
public function beforeUpdate(): void
public function beforeSave(): void
$this->addValidator('endpoint')
->required()
;
$this->addValidator('authToken')
$this->addValidator('publicKey')
$this->addValidator('contentEncoding')