/** * WorkspaceProjects constructor. * * @param array $properties */ public function __construct(array $properties) { parent::__construct($properties); $this->uri = str_replace('{active}', $this->active ? 'true' : 'false', $this->uri); $this->uri = str_replace('{actual_hours}', $this->actualHours ? 'true' : 'false', $this->uri); $this->uri = str_replace('{only_templates}', $this->onlyTemplates ? 'true' : 'false', $this->uri); }
/** * WorkspaceTasks constructor. * * @param array $properties */ public function __construct(array $properties) { parent::__construct($properties); $this->uri = str_replace('{active}', $this->active ? 'true' : 'false', $this->uri); }