for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace SprykerEco\Zed\NewRelic\Business;
use Spryker\Zed\Kernel\Business\AbstractBusinessFactory;
use SprykerEco\Zed\NewRelic\Business\Model\RecordDeployment;
use SprykerEco\Zed\NewRelic\Business\Model\RecordDeploymentInterface;
* @method \SprykerEco\Zed\NewRelic\NewRelicConfig getConfig()
class NewRelicBusinessFactory extends AbstractBusinessFactory
{
* @return \SprykerEco\Zed\NewRelic\Business\Model\RecordDeploymentInterface
public function createRecordDeployment(): RecordDeploymentInterface
return new RecordDeployment(
$this->getConfig()->getNewRelicDeploymentApiUrl(),
$this->getConfig()->getNewRelicApiKey()
);
}