\SymfonyRequirements
This class specifies all requirements and optional recommendations that are necessary to run the Symfony Standard Edition.
- Author: Tobias Schultze <http://tobion.de>
Synopsis
class SymfonyRequirements
extends RequirementCollection
{
- // constants
- const REQUIRED_PHP_VERSION = '5.3.3';
- // methods
- public void __construct()
- // Inherited methods from RequirementCollection
- public Traversable getIterator()
- public void add()
- public void addRequirement()
- public void addRecommendation()
- public void addPhpIniRequirement()
- public void addPhpIniRecommendation()
- public void addCollection()
- public array all()
- public array getRequirements()
- public array getFailedRequirements()
- public array getRecommendations()
- public array getFailedRecommendations()
- public Boolean hasPhpIniConfigIssue()
- public string|false getPhpIniConfigPath()
Hierarchy
Extends
Constants
Name | Value |
---|---|
REQUIRED_PHP_VERSION | '5.3.3' |
Methods
Inherited from RequirementCollection
public
- add() — Adds a Requirement.
- addCollection() — Adds a requirement collection to the current set of requirements.
- addPhpIniRecommendation() — Adds an optional recommendation in form of a php.ini configuration.
- addPhpIniRequirement() — Adds a mandatory requirement in form of a php.ini configuration.
- addRecommendation() — Adds an optional recommendation.
- addRequirement() — Adds a mandatory requirement.
- all() — Returns both requirements and recommendations.
- getFailedRecommendations() — Returns the recommendations that were not met.
- getFailedRequirements() — Returns the mandatory requirements that were not met.
- getIterator() — Gets the current RequirementCollection as an Iterator.
- getPhpIniConfigPath() — Returns the PHP configuration file (php.ini) path.
- getRecommendations() — Returns all optional recommendations.
- getRequirements() — Returns all mandatory requirements.
- hasPhpIniConfigIssue() — Returns whether a php.ini configuration is not correct.