Exemple #1
0
 /**
  * Returns the location.
  *
  * @return Location
  */
 public function getLocation()
 {
     if ($this->location === false && $this->_repository !== null) {
         $this->_repository->injectLocation($this);
     }
     return $this->location ?: null;
 }