public function __construct($entityName, $id) { $this->entityName = $entityName; $this->id = $id; parent::__construct('The Shipping dependency "' . $this->entityName . ' with the id "' . $this->id . '" was not found.', 0); }
public function __construct($id) { $this->entityName = 'SuluSalesShippingBundle:Shipping'; $this->id = $id; parent::__construct('The Shipping 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); }