/** * Returns an instance of class (singleton pattern implementation). * * @return UTAGS_BOL_TagDao */ public static function getInstance() { if (self::$classInstance === null) { self::$classInstance = new self(); } return self::$classInstance; }
/** * * @param int $id * @return UTAGS_BOL_Tag */ public function findTagById($id) { return $this->tagDao->findById($id); }