PropelUserProvider

class PropelUserProvider implements UserProviderInterface Provides easy to use provisioning for Propel model users. Methods __construct(string $class, string|null $property = null) Default constructor UserInterface loadUserByUsername(string $username) Loads the user for the given username. UserInterface refreshUser(UserInterface $user) Refreshes the user for the account interface. bool supportsClass(string $class) Whether this provider supports the given user class Det

PropelUserProvider::loadUserByUsername()

UserInterface loadUserByUsername(string $username) Loads the user for the given username. This method must throw UsernameNotFoundException if the user is not found. Parameters string $username The username Return Value UserInterface Exceptions UsernameNotFoundException if the user is not found

PropelUserProvider::refreshUser()

UserInterface refreshUser(UserInterface $user) Refreshes the user for the account interface. It is up to the implementation to decide if the user data should be totally reloaded (e.g. from the database), or if the UserInterface object can just be merged into some internal array of users / identity map. Parameters UserInterface $user Return Value UserInterface Exceptions UnsupportedUserException if the account is not supported

PropelTypeGuesser::guessMaxLength()

ValueGuess|null guessMaxLength(string $class, string $property) Returns a guess about the field's maximum length Parameters string $class The fully qualified class name string $property The name of the property to guess for Return Value ValueGuess|null A guess for the field's maximum length

PropelTypeGuesser

class PropelTypeGuesser implements FormTypeGuesserInterface Propel Type guesser. Methods TypeGuess|null guessType(string $class, string $property) Returns a field guess for a property name of a class ValueGuess guessRequired(string $class, string $property) Returns a guess whether a property of a class is required ValueGuess|null guessMaxLength(string $class, string $property) Returns a guess about the field's maximum length ValueGuess|null guessPattern(string $class, stri

PropelTypeGuesser::guessType()

TypeGuess|null guessType(string $class, string $property) Returns a field guess for a property name of a class Parameters string $class The fully qualified class name string $property The name of the property to guess for Return Value TypeGuess|null A guess for the field's type and options

PropelTypeGuesser::guessRequired()

ValueGuess guessRequired(string $class, string $property) Returns a guess whether a property of a class is required Parameters string $class The fully qualified class name string $property The name of the property to guess for Return Value ValueGuess A guess for the field's required setting

PropelTypeGuesser::guessPattern()

ValueGuess|null guessPattern(string $class, string $property) Returns a guess about the field's pattern When you have a min value, you guess a min length of this min (LOW_CONFIDENCE) , lines below If this value is a float type, this is wrong so you guess null with MEDIUM_CONFIDENCE to override the previous guess. Example: You want a float greater than 5, 4.512313 is not valid but length(4.512314) > length(5) Parameters string $class The fully qualified class name string $p

PropelLogger::notice()

notice($message) {@inheritdoc} Parameters $message

PropelLogger::info()

info($message) {@inheritdoc} Parameters $message