mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
rename 'label' to 'name'.
Warning : this commit require to rename some table column, but the original Version file has been update. If you do not care to loose your date, you may run : ``` php app/console doctrine:migrations:execute --down 20160318111334 php app/console doctrine:migrations:execute --up 20160318111334 php app/console doctrine:cache:metadata #(if you have a cache for doctrine meta date) ``` close #20
This commit is contained in:
@@ -15,7 +15,7 @@ class EventType
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $label;
|
||||
private $name;
|
||||
|
||||
/**
|
||||
* @var boolean
|
||||
@@ -58,9 +58,9 @@ class EventType
|
||||
*
|
||||
* @return EventType
|
||||
*/
|
||||
public function setLabel($label)
|
||||
public function setName($label)
|
||||
{
|
||||
$this->label = $label;
|
||||
$this->name = $label;
|
||||
|
||||
return $this;
|
||||
}
|
||||
@@ -70,9 +70,9 @@ class EventType
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getLabel()
|
||||
public function getName()
|
||||
{
|
||||
return $this->label;
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user