Overview

Namespaces

  • Ae
    • FeatureBundle
      • Admin
      • Command
      • DependencyInjection
      • Entity
      • Security
      • Service
      • Twig
        • Extension
        • Node
        • TokenParser

Classes

  • Feature
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class Feature

Namespace: Ae\FeatureBundle\Service
Author: Carlo Forghieri carlo@adespresso.com
Located at Service/Feature.php
Methods summary
public
# __construct( Ae\FeatureBundle\Entity\FeatureManager $manager, Ae\FeatureBundle\Security\FeatureSecurity $security )

Parameters

$manager
$security
public boolean
# isGranted( string $name, string $parent )

Check if a feature (defined by name/parent) is granted to the logged user.

Check if a feature (defined by name/parent) is granted to the logged user.

Parameters

$name
$parent

Returns

boolean
Properties summary
protected Ae\FeatureBundle\Entity\FeatureManager $manager
#
protected Ae\FeatureBundle\Security\FeatureSecurity $security
#
API documentation generated by ApiGen