public function __construct($argument)
 {
     $this->argument = '';
     parent::__construct('The argument "' . $this->argument . '" is not correct for order.', 0);
 }
 public function __construct($entityName, $id)
 {
     $this->entityName = $entityName;
     $this->id = $id;
     parent::__construct('The order dependency "' . $this->entityName . ' with the id "' . $this->id . '" was not found.', 0);
 }
 public function __construct($attribute)
 {
     $this->attribute = $attribute;
     parent::__construct('The attribute with the name "' . $this->attribute . '" is missing.', 0);
 }
Exemplo n.º 4
0
 public function __construct($id)
 {
     $this->entityName = 'SuluSalesOrderBundle:Order';
     $this->id = $id;
     parent::__construct('The order with the id "' . $this->id . '" was not found.', 0);
 }