for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Cp\Provider;
use Cp\DomainObject\Configuration;
use Cp\DomainObject\Plan;
use Cp\Manager\PlanManager;
/**
* Class PlanProvider
*/
class PlanProvider
{
* @var PlanManager
private $planManager;
* PlanProvider constructor.
*
* @param PlanManager $planManager
public function __construct(PlanManager $planManager)
$this->planManager = $planManager;
}
* @param Configuration $configuration
* @return Plan
public function getPlanByConfiguration(Configuration $configuration)
return $this->planManager->findByType(
$configuration->getNumberOfWeek(),
$configuration->getNumberOfSeance(),
$configuration->getType()
);
This check marks files that end in a newline character, i.e. an empy line.
This check marks files that end in a newline character, i.e. an empy line.