GeneratorConfig::addBundleWriter()

addBundleWriter(string $targetDir, BundleWriterInterface $writer) Adds a writer to be used during the data conversion. Parameters string $targetDir The output directory BundleWriterInterface $writer The writer instance

AssetsHelper deprecated

class AssetsHelper extends CoreAssetsHelper deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. AssetsHelper helps manage asset URLs. Usage: Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper __construct(string $basePath = null, string|array $baseUrls = array(), string $version = null, string $format = null, array $namedPackages = array()) Constructor. setDefau

AuditableEntryInterface

interface AuditableEntryInterface implements EntryInterface ACEs can implement this interface if they support auditing capabilities. Methods AclInterface getAcl() The ACL this ACE is associated with. from EntryInterface int getId() The primary key of this ACE from EntryInterface int getMask() The permission mask of this ACE from EntryInterface SecurityIdentityInterface getSecurityIdentity() The security identity associated with this ACE from EntryInterface string getStrat

NormalizationBuilder::remap()

NormalizationBuilder remap(string $key, string $plural = null) Registers a key to remap to its plural form. Parameters string $key The key to remap string $plural The plural of the key in case of irregular plural Return Value NormalizationBuilder

Bundle::getParent()

string getParent() Returns the bundle parent name. Return Value string The Bundle name it overrides or null if no parent

RangeType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name

FileinfoMimeTypeGuesser

class FileinfoMimeTypeGuesser implements MimeTypeGuesserInterface Guesses the mime type using the PECL extension FileInfo. Methods __construct(string $magicFile = null) Constructor. static bool isSupported() Returns whether this guesser is supported on the current OS/PHP setup. string guess(string $path) Guesses the mime type of the file with the given path. Details __construct(string $magicFile = null) Constructor. Parameters stri

PropelFactory::create()

create(ContainerBuilder $container, $id, $config) Parameters ContainerBuilder $container $id $config

ResponseHeaderBag::hasCacheControlDirective()

bool hasCacheControlDirective(string $key) Returns true if the Cache-Control directive is defined. Parameters string $key The Cache-Control directive Return Value bool true if the directive exists, false otherwise

ValidatorTypeGuesser::guessPatternForConstraint()

ValueGuess|null guessPatternForConstraint(Constraint $constraint) Guesses a field's pattern based on the given constraint. Parameters Constraint $constraint The constraint to guess for Return Value ValueGuess|null The guess for the pattern