/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/View/Form
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/View/Form/NullContext.php (2775B)
* @deprecated 4.0.0 Renamed to {@link getPrimaryKey()}.
*/
public function primaryKey(): array
{
deprecationWarning('`NullContext::primaryKey()` is deprecated. Use `NullContext::getPrimaryKey()`.');
return [];
}
/**
* @inheritDoc
*/
public function getPrimaryKey(): array
{
return [];
}
/**
* @inheritDoc
*/
public function isPrimaryKey(string $field): bool
{
return false;
}
/**
* @inheritDoc
*/
public function isCreate(): bool
{
return true;
}
/**
* @inheritDoc
*/
public function val(string $field, array $options = [])
{
return null;
}
/**
* @inheritDoc
*/
public function isRequired(string $field): ?bool
{
return null;
}
/**
* @inheritDoc
*/
public function getRequiredMessage(string $field): ?string
{
return null;
}
/**
* @inheritDoc
*/
public function getMaxLength(string $field): ?int
{
return null;
}
/**
* @inheritDoc
*/
public function fieldNames(): array
{
return [];
}
/**
* @inheritDoc
*/
public function type(string $field): ?string
{
return null;
}
/**
* @inheritDoc
*/
public function attributes(string $field): array
{
return [];
}
/**
* @inheritDoc
*/
public function hasError(string $field): bool
{
return false;
}
/**
* @inheritDoc
*/
public function error(string $field): array
{
return [];
}
}