ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
InterruptiveItemMock Class Reference
+ Inheritance diagram for InterruptiveItemMock:
+ Collaboration diagram for InterruptiveItemMock:

Public Member Functions

 __construct (string $canonical_name='')
 
 getId ()
 
 getCanonicalName ()
 

Protected Attributes

string $canonical_name
 

Detailed Description

Definition at line 179 of file InterruptiveTest.php.

Constructor & Destructor Documentation

◆ __construct()

InterruptiveItemMock::__construct ( string  $canonical_name = '')

Definition at line 185 of file InterruptiveTest.php.

186 {
187 $this->canonical_name = $canonical_name;
188 }

References $canonical_name.

Member Function Documentation

◆ getCanonicalName()

InterruptiveItemMock::getCanonicalName ( )

Definition at line 195 of file InterruptiveTest.php.

195 : string
196 {
197 return $this->canonical_name ?: 'InterruptiveItem';
198 }

◆ getId()

InterruptiveItemMock::getId ( )

Definition at line 190 of file InterruptiveTest.php.

190 : string
191 {
192 return '1';
193 }

Field Documentation

◆ $canonical_name

string InterruptiveItemMock::$canonical_name
protected

Definition at line 183 of file InterruptiveTest.php.

Referenced by __construct().


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