View sourcecode

The following files exists in this folder. Click to view.

CDIFactoryDocumentation.php

1 lines ASCII Unix (LF)
1
<?php

namespace Anax\DI;

/**
 * Extended factory for Anax documentation.
 *
 */
class CDIFactoryDocumentation extends CDIFactoryDefault
{
   /**
     * Construct.
     *
     */
    public function __construct()
    {
        parent::__construct();

        $this->set('documentation', function() {
            $fc = new \Anax\Content\CFileContent();
            $fc->setBasePath(ANAX_INSTALL_PATH . 'docs/');
            return $fc;
        });
    }
}