ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
Vendor\Package\Foo Class Reference
+ Inheritance diagram for Vendor\Package\Foo:
+ Collaboration diagram for Vendor\Package\Foo:

Public Member Functions

 sampleMethod ($a, $b=null)
 
 sampleMethod ($a, $b=null)
 

Static Public Member Functions

static bar ()
 
static bar ()
 

Detailed Description

Definition at line 10 of file example_cleaned.php.

Member Function Documentation

◆ bar() [1/2]

static Vendor\Package\Foo::bar ( )
staticfinal

Definition at line 23 of file example_cleaned.php.

24 {
25 // method body
26 }

Referenced by Vendor\Package\Foo\sampleMethod().

+ Here is the caller graph for this function:

◆ bar() [2/2]

static Vendor\Package\Foo::bar ( )
staticfinal

Definition at line 28 of file example_raw.php.

29 {
30 // method body
31 }

◆ sampleMethod() [1/2]

Vendor\Package\Foo::sampleMethod (   $a,
  $b = null 
)

Definition at line 12 of file example_cleaned.php.

13 {
14 if ($a === $b) {
16 } elseif ($a > $b) {
17 $foo->bar($arg1);
18 } else {
19 BazClass::bar($arg2, $arg3);
20 }
21 }
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples

References Vendor\Package\$a, Vendor\Package\$b, Vendor\Package\$foo, and Vendor\Package\bar().

+ Here is the call graph for this function:

◆ sampleMethod() [2/2]

Vendor\Package\Foo::sampleMethod (   $a,
  $b = null 
)

Definition at line 12 of file example_raw.php.

13 {
14 if ($a === $b)
15 {
16 bar();
17 }
18 elseif ($a > $b)
19 {
20 $foo->bar($arg1);
21 }
22 else
23 {
24 BazClass::bar($arg2, $arg3);
25 }
26 }

References Vendor\Package\$a, Vendor\Package\$b, Vendor\Package\$foo, Vendor\Package\Foo\bar(), and Vendor\Package\bar().

+ Here is the call graph for this function:

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