2013-02-19 39 views
0

PHPDocumenter一直告訴我,我的頁面級別的docblock不存在於我的文件中,我在網上閱讀了幾頁文檔,以使這項工作,但仍然無法正常工作,任何人知道最新錯誤?phpdoc總是告訴我我的頁面級別的docblock不存在

<?php 
namespace Activis\Catalog\Model; 

/** 
* This file represents the factory for the domain object Product for the Activis catalog. 
* 
* For now, this factory is simple and abstract but will slowly change into a non-static set of factory functions 
* The domain model for this object is \Activis\Catalog\Model\Product 
* 
* @category Domain model factory 
* @package Activis.Catalog.Model 
* @author Mathieu Dumoulin 
* @license LGPL v3 
* @link  http://activis.ca/ 
* @todo  Change the methods in the factory to not be abstract and require an instance of this class 
*/ 
/** 
* Declares the catalog's product's domain model factory 
* 
* @abstract 
* @static 
*/ 
abstract class ProductFactory 
{ 
} 
+3

難道不應該放在命名空間過嗎? – 2013-02-19 22:04:25

+0

明天當我回去工作時,我會試試,可能是 – 2013-02-19 23:12:53

+0

@ dev-null-dweller就是這樣,創建一個答案,以便我可以給你應有的信用! – 2013-02-20 12:58:48

回答

2

頁級的docblock應放在文件的頂部,之前命名空間聲明

相關問題