Permalink
Browse files

fix @package locations

  • Loading branch information...
1 parent 7bdbe2e commit 47595a38f5a4f496e0b0ed1b556d8f0e91264b18 @pmjones pmjones committed Jan 4, 2012
@@ -5,15 +5,20 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework;
use Aura\Autoload\Loader;
use Aura\Di\Container as DiContainer;
use Aura\Di\Forge as DiForge;
use Aura\Di\Config as DiConfig;
+/**
+ *
+ * A bootstrapper for web and cli execution.
+ *
+ * @package Aura.Framework
+ *
+ */
class Bootstrap
{
protected $system;
@@ -5,8 +5,6 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\Cli\CacheClassmap;
use Aura\Framework\Cli\AbstractCommand;
@@ -16,6 +14,8 @@
*
* Caches all package source class files.
*
+ * @package Aura.Framework
+ *
*/
class Command extends AbstractCommand
{
@@ -5,8 +5,6 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\Cli\CacheConfig;
use Aura\Framework\Cli\AbstractCommand;
@@ -16,6 +14,8 @@
*
* Caches all package source class files.
*
+ * @package Aura.Framework
+ *
*/
class Command extends AbstractCommand
{
@@ -5,8 +5,6 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\Cli\HelloWorld;
use Aura\Framework\Cli\AbstractCommand;
@@ -15,6 +13,8 @@
*
* A simple CLI command to output "Hello, World!"
*
+ * @package Aura.Framework
+ *
*/
class Command extends AbstractCommand
{
@@ -5,8 +5,6 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\Cli\MakeTest;
use Aura\Framework\Cli\AbstractCommand;
@@ -27,6 +25,8 @@
* ... where `$FILE` is a package file path, e.g.
* `package/Aura.Framework/System.php`.
*
+ * @package Aura.Framework
+ *
*/
class Command extends AbstractCommand
{
@@ -5,14 +5,14 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework;
/**
*
* Generic package exception.
*
+ * @package Aura.Framework
+ *
*/
class Exception extends \Exception {}
@@ -5,8 +5,6 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\Exception;
class NoClassForController extends \Aura\Framework\Exception {}
@@ -5,14 +5,14 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\Exception;
/**
*
* Could not find the source class file for a test.
*
+ * @package Aura.Framework
+ *
*/
class SourceNotFound extends \Aura\Framework\Exception {}
@@ -5,14 +5,14 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\Exception;
/**
*
* A test file already exists for a given class.
*
+ * @package Aura.Framework
+ *
*/
class TestFileExists extends \Aura\Framework\Exception {}
@@ -5,14 +5,14 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\Exception;
/**
*
* Could not find the file for a given test.
*
+ * @package Aura.Framework
+ *
*/
class TestFileNotFound extends \Aura\Framework\Exception {}
@@ -5,15 +5,15 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework;
/**
*
* Methods for inflecting strings from one form to another form.
*
+ * @package Aura.Framework
+ *
*/
class Inflect
{
@@ -5,15 +5,15 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework;
/**
*
* Keeps track of the Aura system directories.
*
+ * @package Aura.Framework
+ *
*/
class System
{
@@ -5,8 +5,6 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\View\Helper;
use Aura\View\Helper\AbstractHelper;
@@ -15,6 +13,8 @@
*
* Generates href values for assets.
*
+ * @package Aura.Framework
+ *
*/
class AssetHref extends AbstractHelper
{
@@ -7,8 +7,6 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\View\Helper;
use Aura\View\Helper\AbstractHelper;
@@ -18,6 +16,8 @@
*
* Generates route links.
*
+ * @package Aura.Framework
+ *
*/
class Route extends AbstractHelper
{
@@ -5,8 +5,6 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\Web\Asset;
use Aura\Framework\Web\AbstractPage;
@@ -34,6 +32,8 @@
* Additionally, you can cache the assets to the web document root, so that
* they are served statically instead of through PHP.
*
+ * @package Aura.Framework
+ *
*/
class Page extends AbstractPage
{
@@ -5,8 +5,6 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\Web;
use Aura\Di\ForgeInterface as ForgeInterface;
@@ -19,6 +17,8 @@
*
* @package Aura.Web
*
+ * @package Aura.Framework
+ *
*/
class Factory
{
@@ -5,8 +5,6 @@
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
- * @package Aura.Framework
- *
*/
namespace Aura\Framework\Web;
use Aura\Framework\Web\Factory;
@@ -21,6 +19,8 @@
* Takes an incoming web request (Context), then dispatches it, renders
* content, and returns a response for it.
*
+ * @package Aura.Framework
+ *
*/
class Front
{

3 comments on commit 47595a3

@harikt
Member
harikt commented on 47595a3 Jan 4, 2012

@pmjones I feel this will make us trouble for, according to the docblox api generation the first one should have the package . Else it will not show in the namespace . I will try it now and lets see .

@pmjones
Member
pmjones commented on 47595a3 Jan 4, 2012

I just tried it last night, and it has to go at the class level, not the file level, or it shows up in the "default" block.

@harikt
Member
harikt commented on 47595a3 Jan 4, 2012

Oh i c . ok then .... I was thinking the other way :) . Also you will update the api docs right ? I am having some trouble with my installation for the current time :( .

Please sign in to comment.