interface BinaryInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/TypedData/Type/BinaryInterface.php \Drupal\Core\TypedData\Type\BinaryInterface
Interface for binary data.
The plain value of binary data is a PHP file resource, see http://php.net/manual/language.types.resource.php. For setting the value a PHP file resource or a (absolute) stream resource URI may be passed.
Hierarchy
- interface \Drupal\Core\TypedData\PrimitiveInterface
- interface \Drupal\Core\TypedData\Type\BinaryInterface
Expanded class hierarchy of BinaryInterface
All classes that implement BinaryInterface
Related topics
2 files declare their use of BinaryInterface
- BinaryData.php in core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ BinaryData.php - Contains \Drupal\Core\TypedData\Plugin\DataType\BinaryData.
- PrimitiveTypeConstraintValidator.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ PrimitiveTypeConstraintValidator.php - Contains \Drupal\Core\Validation\Plugin\Validation\Constraint\PrimitiveTypeConstraintValidator.
File
- core/
lib/ Drupal/ Core/ TypedData/ Type/ BinaryInterface.php, line 21 - Contains \Drupal\Core\TypedData\Type\BinaryInterface.
Namespace
Drupal\Core\TypedData\TypeView source
interface BinaryInterface extends PrimitiveInterface {
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PrimitiveInterface:: |
public | function | Gets the primitive data value casted to the correct PHP type. | 5 |
PrimitiveInterface:: |
public | function | Gets the primitive data value. | |
PrimitiveInterface:: |
public | function | Sets the primitive data value. |