for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (c) Flipbox Digital Limited
* @license https://github.com/flipboxfactory/craft-ember/blob/master/LICENSE
* @link https://github.com/flipboxfactory/craft-ember/
*/
namespace flipbox\craft\ember\objects;
* @property int|null $id
*
* @author Flipbox Factory <[email protected]>
* @since 2.0.0
trait IdMutatorTrait
{
* @return int|null
public function getId()
return $this->id;
}
* @param $id
* @return $this
public function setId($id)
$this->id = $id === null ? null : (int)$id;
return $this;