ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
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 76 of file ThunkValue.php.

76  : bool
77  {
78  return false;
79  }

◆ 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 71 of file ThunkValue.php.

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

◆ getType()

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

Implements ILIAS\BackgroundTasks\Value.

Definition at line 36 of file ThunkValue.php.

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

◆ 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 47 of file ThunkValue.php.

48  {
49  return '';
50  }

◆ setValue()

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

Implements ILIAS\BackgroundTasks\Value.

Definition at line 84 of file ThunkValue.php.

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

◆ 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 61 of file ThunkValue.php.

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

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: