for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright 2019 Vladimir Jimenez
* @license https://github.com/allejo/PhpPulse/blob/master/LICENSE.md MIT
*/
namespace allejo\DaPulse;
use allejo\DaPulse\Objects\ApiObject;
class PulseTag extends ApiObject
{
const API_PREFIX = "tags";
* @var string
protected $url;
* @var int
protected $id;
protected $name;
protected $color;
* @var \DateTime
protected $created_at;
protected $updated_at;
* @return string
public function getUrl ()
$this->lazyLoad();
return $this->url;
}
* @return int
public function getId ()
return $this->id;
public function getName ()
return $this->name;
public function getColor ()
return $this->color;
* @return \DateTime
public function getCreatedAt ()
self::lazyCast($this->created_at, '\DateTime');
return $this->created_at;
public function getUpdatedAt ()
self::lazyCast($this->updated_at, '\DateTime');
return $this->updated_at;