public function __construct(Factory $factory, $name, $id = Null) { // $this->ref = microtime(true); if (!is_numeric($id)) { $id = (int) "{$id}"; } parent::__construct($factory, $id); $this->name = Name::create($name); }
public function __construct(Factory $factory, $link, $title, array $tags = array(), $id = 0) { parent::__construct($factory, $id); $this->link = trim($link); $this->title = $title; foreach ($tags as $tag) { $this->addTag($tag); } }
function __construct($namespace) { parent::__construct($namespace); }
public function __construct() { parent::__construct(); }