2016-09-06 10:54:34 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace TestNamespace;
|
|
|
|
|
|
|
|
class TestClass
|
|
|
|
{
|
|
|
|
public $testProperty;
|
2016-09-20 09:39:58 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param $testParameter description
|
|
|
|
*/
|
2016-09-06 10:54:34 +00:00
|
|
|
public function testMethod($testParameter)
|
|
|
|
{
|
|
|
|
$testVariable = 123;
|
2016-09-20 09:39:58 +00:00
|
|
|
|
2016-09-06 10:54:34 +00:00
|
|
|
if (empty($testParameter)) {
|
|
|
|
echo 'Empty';
|
|
|
|
}
|
|
|
|
}
|
2016-09-20 09:39:58 +00:00
|
|
|
}
|