ILIAS  trunk Revision v5.2.0beta1-34132-g2d4d73d4a0
ILIAS\BackgroundTasks\Implementation\Values\ThunkValue Class Reference
+ Inheritance diagram for ILIAS\BackgroundTasks\Implementation\Values\ThunkValue:
+ Collaboration diagram for ILIAS\BackgroundTasks\Implementation\Values\ThunkValue:

Public Member Functions

 getType ()
 
 serialize ()
 String representation of object http://php.net/manual/en/serializable.serialize.php. More...
 
 unserialize ($serialized)
 Constructs the object http://php.net/manual/en/serializable.unserialize.php. More...
 
 getHash ()
 
 equals (Value $other)
 
 setValue ($value)
 
- Public Member Functions inherited from ILIAS\BackgroundTasks\Implementation\Values\AbstractValue
 getType ()
 
 getParentTask ()
 
 setParentTask (Task $parentTask)
 
 hasParentTask ()
 
 __serialize ()
 
 __unserialize (array $data)
 

Protected Attributes

Type $type
 
- Protected Attributes inherited from ILIAS\BackgroundTasks\Implementation\Values\AbstractValue
Task $parentTask
 

Detailed Description

Definition at line 31 of file ThunkValue.php.

Member Function Documentation

◆ equals()

ILIAS\BackgroundTasks\Implementation\Values\ThunkValue::equals ( Value  $other)

Implements ILIAS\BackgroundTasks\Value.

Definition at line 75 of file ThunkValue.php.

75  : bool
76  {
77  return false;
78  }

◆ getHash()

ILIAS\BackgroundTasks\Implementation\Values\ThunkValue::getHash ( )
Returns
string Gets a hash for this IO. If two objects are the same the hash must be the same! if two objects are different you need to have as view collitions as possible.

Implements ILIAS\BackgroundTasks\Value.

Definition at line 70 of file ThunkValue.php.

70  : string
71  {
72  return '';
73  }

◆ getType()

ILIAS\BackgroundTasks\Implementation\Values\ThunkValue::getType ( )

Implements ILIAS\BackgroundTasks\Value.

Definition at line 35 of file ThunkValue.php.

35  : Type
36  {
37  return $this->parentTask->getOutputType();
38  }

◆ serialize()

ILIAS\BackgroundTasks\Implementation\Values\ThunkValue::serialize ( )

String representation of object http://php.net/manual/en/serializable.serialize.php.

Returns
string the string representation of the object or null
Since
5.1.0

Definition at line 46 of file ThunkValue.php.

47  {
48  return '';
49  }

◆ setValue()

ILIAS\BackgroundTasks\Implementation\Values\ThunkValue::setValue (   $value)
Parameters
$value

Implements ILIAS\BackgroundTasks\Value.

Definition at line 83 of file ThunkValue.php.

83  : void
84  {
85  // TODO: Implement setValue() method.
86  }

◆ unserialize()

ILIAS\BackgroundTasks\Implementation\Values\ThunkValue::unserialize (   $serialized)

Constructs the object http://php.net/manual/en/serializable.unserialize.php.

Parameters
string$serialized

The string representation of the object.

Returns
void
Since
5.1.0

Definition at line 60 of file ThunkValue.php.

60  : void
61  {
62  // Nothing to do.
63  }

Field Documentation

◆ $type

Type ILIAS\BackgroundTasks\Implementation\Values\ThunkValue::$type
protected

Definition at line 33 of file ThunkValue.php.


The documentation for this class was generated from the following file: