public function __construct()
 {
     parent::__construct('Not allowed to perform this organization action');
 }
 public function __construct()
 {
     parent::__construct(sprintf('The project does not exist'));
 }
 public function __construct()
 {
     parent::__construct('The task already exists');
 }
 public function __construct(string $progress)
 {
     parent::__construct(sprintf('Progress "%s" not allowed', $progress));
 }
 public function __construct()
 {
     parent::__construct('Only owners of the organization can create a project');
 }
 public function __construct()
 {
     parent::__construct('Task and its parent cannot be the same');
 }
Example #7
0
 public function __construct(ProjectId $projectId)
 {
     parent::__construct(sprintf('Project with id "%s" already exists', $projectId->id()));
 }
 public function __construct()
 {
     parent::__construct('Organization does not exist');
 }
 public function __construct(string $priority)
 {
     parent::__construct(sprintf('Priority "%s" not allowed', $priority));
 }
 public function __construct()
 {
     parent::__construct('The parent task belongs to other project');
 }
 public function __construct()
 {
     parent::__construct('Only owners of the organization can edit it');
 }
 public function __construct()
 {
     parent::__construct();
     $this->message = 'Organization name must not be empty';
 }
 public function __construct()
 {
     parent::__construct('The organization already exists');
 }
 public function __construct(UserId $userId)
 {
     parent::__construct(sprintf('The given %s user is already an owner', $userId->id()));
 }
 public function __construct(UserId $userId)
 {
     parent::__construct(sprintf('The given %s user is not an organization member', $userId->id()));
 }
 public function __construct(string $expectedInstance, string $givenInstance)
 {
     parent::__construct(sprintf('Expected an instance of "%s", "%s" given', $expectedInstance, $givenInstance));
 }
 public function __construct(string $className)
 {
     parent::__construct(sprintf('Does not exist any "%s" class name', $className));
 }
Example #18
0
 public function __construct()
 {
     parent::__construct('User does not exist');
 }
 public function __construct()
 {
     parent::__construct('Not allowed to perform this project action');
 }
 public function __construct()
 {
     parent::__construct('Organization must need one owner, at least');
 }
 public function __construct(UserId $userId)
 {
     parent::__construct(sprintf('Already exists a user with the "%s" id', $userId->id()));
 }
Example #22
0
 public function __construct()
 {
     parent::__construct('The task does not exist');
 }
 public function __construct()
 {
     parent::__construct();
     $this->message = 'Task title cannot be empty';
 }