for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Model Exemple1
*
* @category Venus\src\
* @package Venus\src\Demo\Entity
* @author Judicaël Paquet <[email protected]>
* @copyright Copyright (c) 2013-2014 PAQUET Judicaël FR Inc. (https://github.com/las93)
* @license https://github.com/las93/venus2/blob/master/LICENSE.md Tout droit réservé à PAQUET Judicaël
* @version Release: 1.0.0
* @filesource https://github.com/las93/venus2
* @link https://github.com/las93
* @since 1.0
*/
namespace Venus\src\Demo\Entity;
use \Venus\src\Demo\common\Entity as Entity;
class Exemple1 extends Entity {
* id
* @access private
* @var int
* @primary_key
private $id = null;
* title
* @var string
private $title = null;
* get id of article
* @access public
* @return int
public function get_id() {
return $this->id;
}
* set id of article
* @param int $id id of article
* @return \src\FrontOffice\Entity\article
public function set_id($id) {
$this->id = $id;
return $this;
* get title of article
* @return string
public function get_title() {
return $this->title;
* set title of article
* @param string $title title of article
public function set_title($title) {
$this->title = $title;