/** * Constructor * @param mixed[] $data Associated array of property values initializing the model */ public function __construct(array $data = null) { parent::__construct($data); $this->container['declawed'] = isset($data['declawed']) ? $data['declawed'] : null; }
static function getters() { return parent::getters() + self::$getters; }
/** * Constructor * @param mixed[] $data Associated array of property value initalizing the model */ public function __construct(array $data = null) { parent::__construct($data); if ($data != null) { $this->breed = $data["breed"]; } }
/** * Constructor * @param mixed[] $data Associated array of property value initalizing the model */ public function __construct(array $data = null) { parent::__construct($data); if ($data != null) { if (isset($data["declawed"])) { $this->container['declawed'] = $data["declawed"]; } } }