for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (c) Flipbox Digital Limited
* @license https://flipboxfactory.com/software/flux/license
* @link https://www.flipboxfactory.com/software/flux/
*/
namespace flipbox\flux\cp;
use modules\Module;
* @author Flipbox Factory <[email protected]>
* @since 1.0.0
*
* @property services\Transformers $transformers
class Cp extends Module
{
* @inheritdoc
public function init()
parent::init();
// Components
$this->setComponents([
'transformers' => services\Transformers::class,
]);
}
/*******************************************
* SERVICES
*******************************************/
* @noinspection PhpDocMissingThrowsInspection
* @return services\Transformers
public function getTransformers(): services\Transformers
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpIncompatibleReturnTypeInspection */
return $this->get('transformers');