BaseModel::has PHP Méthode

has() public static méthode

Returns true if the service id is defined.
public static has ( string $reference ) : boolean
$reference string The service id
Résultat boolean true if the service id is defined, false otherwise
    public static function has($reference)
    {
        return self::$container->has($reference);
    }