for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Zemit Framework.
*
* (c) Zemit Team <[email protected]>
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Zemit\Provider\LoremIpsum;
use Zemit\Provider\AbstractServiceProvider;
use Phalcon\Di\DiInterface;
use joshtronic\LoremIpsum;
* Class ServiceProvider
* @author Julien Turbide <[email protected]>
* @copyright Zemit Team <[email protected]>
* @since 1.0
* @version 1.0
* @package Zemit\Provider\Mailer
class ServiceProvider extends AbstractServiceProvider
{
* The Service name.
* @var string
protected $serviceName = 'loremIpsum';
* {@inheritdoc}
* @return void
public function register(DiInterface $di): void
$di->setShared($this->getName(), function() {
return new LoremIpsum();
});
}