diff --git a/DependencyInjection/MissingBundleException.php b/DependencyInjection/MissingBundleException.php new file mode 100644 index 000000000..750f0157e --- /dev/null +++ b/DependencyInjection/MissingBundleException.php @@ -0,0 +1,20 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Agent + */ + public function setName($name) + { + $this->name = $name; + + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() + { + return $this->name; + } + + public function __toString() { + parent::__toString(); + } +} diff --git a/Resources/config/doctrine/Agent.orm.yml b/Resources/config/doctrine/Agent.orm.yml new file mode 100644 index 000000000..8d120e687 --- /dev/null +++ b/Resources/config/doctrine/Agent.orm.yml @@ -0,0 +1,14 @@ +CL\Chill\MainBundle\Entity\Agent: + type: entity + table: agents + id: + id: + type: integer + id: true + generator: + strategy: AUTO + fields: + name: + type: string + length: 80 + diff --git a/Resources/translations/messages.fr.xlf b/Resources/translations/messages.fr---.xlf similarity index 100% rename from Resources/translations/messages.fr.xlf rename to Resources/translations/messages.fr---.xlf