/**
  * @param Feeling $feeling
  * @return array
  */
 public static function extractHowAreYouFeeling(Feeling $feeling)
 {
     return array_merge($feeling->getNormalisedValues(), array('feelingSectionCompleted' => true === $feeling->isCompleted() ? "true" : "false"));
 }
Exemplo n.º 2
0
 /**
  * @inheritdoc
  */
 public function isCompleted()
 {
     return $this->feelings->isCompleted() && $this->hindrances->isCompleted() && $this->dependants->isCompleted() && $this->motivations->isCompleted();
 }