public function __toString() { if (!$this->bank) { return 'new'; } return parent::__toString() . '/' . $this->bank->getCode(); }
public function __construct() { parent::__construct(); $this->routes = new ArrayCollection(); }