for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Alpixel\Bundle\UserBundle\Services;
use Doctrine\Bundle\DoctrineBundle\Registry;
use Symfony\Component\Security\Core\SecurityContext;
class AccessManager
{
protected $securityContext;
protected $doctrine;
public function __construct(Registry $doctrine, SecurityContext $context)
$this->securityContext = $context;
$this->doctrine = $doctrine;
}
public function canAccess($type)
$type
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.