/** * Returns an instance of class (singleton pattern implementation). * * @return OASEO_BOL_UrlDao */ public static function getInstance() { if (self::$classInstance === null) { self::$classInstance = new self(); } return self::$classInstance; }
/** * @param OASEO_BOL_Url $dto */ public function saveUrl(OASEO_BOL_Url $dto) { $this->urlDao->save($dto); }