How to use __construct method of adapter class

Best Atoum code snippet using adapter.__construct

generator.php

Source:generator.php Github

copy

Full Screen

...6use mageekguy\atoum\test\adapter\call\decorators;7require_once __DIR__ . '/../../runner.php';8class generator extends atoum\test9{10 public function test__construct()11 {12 $this13 ->if($generator = new testedClass())14 ->then15 ->object($generator->getAdapter())->isEqualTo(new atoum\adapter())16 ->boolean($generator->callsToParentClassAreShunted())->isFalse()17 ;18 }19 public function testSetAdapter()20 {21 $this22 ->if($generator = new testedClass())23 ->then24 ->object($generator->setAdapter($adapter = new atoum\adapter()))->isIdenticalTo($generator)25 ->object($generator->getAdapter())->isIdenticalTo($adapter)26 ->object($generator->setAdapter())->isIdenticalTo($generator)27 ->object($generator->getAdapter())28 ->isInstanceOf(atoum\adapter::class)29 ->isNotIdenticalTo($adapter)30 ->isEqualTo(new atoum\adapter())31 ;32 }33 public function testSetReflectionClassFactory()34 {35 $this36 ->if($generator = new testedClass())37 ->then38 ->object($generator->setReflectionClassFactory($factory = function () {39 }))->isIdenticalTo($generator)40 ->object($generator->getReflectionClassFactory())->isIdenticalTo($factory)41 ->object($generator->setReflectionClassFactory())->isIdenticalTo($generator)42 ->object($defaultReflectionClassFactory = $generator->getReflectionClassFactory())43 ->isInstanceOf(\closure::class)44 ->isNotIdenticalTo($factory)45 ->object($defaultReflectionClassFactory($this))->isEqualTo(new \reflectionClass($this))46 ;47 }48 public function testSetDefaultNamespace()49 {50 $this51 ->if($generator = new testedClass())52 ->then53 ->object($generator->setDefaultNamespace($namespace = uniqid()))->isIdenticalTo($generator)54 ->string($generator->getDefaultNamespace())->isEqualTo($namespace)55 ->object($generator->setDefaultNamespace('\\' . $namespace))->isIdenticalTo($generator)56 ->string($generator->getDefaultNamespace())->isEqualTo($namespace)57 ->object($generator->setDefaultNamespace('\\' . $namespace . '\\'))->isIdenticalTo($generator)58 ->string($generator->getDefaultNamespace())->isEqualTo($namespace)59 ->object($generator->setDefaultNamespace($namespace . '\\'))->isIdenticalTo($generator)60 ->string($generator->getDefaultNamespace())->isEqualTo($namespace)61 ;62 }63 public function testShuntCallsToParentClass()64 {65 $this66 ->if($generator = new testedClass())67 ->then68 ->object($generator->shuntParentClassCalls())->isIdenticalTo($generator)69 ->boolean($generator->callsToParentClassAreShunted())->isTrue()70 ;71 }72 public function testUnshuntParentClassCalls()73 {74 $this75 ->if($generator = new testedClass())76 ->then77 ->object($generator->unshuntParentClassCalls())->isIdenticalTo($generator)78 ->boolean($generator->callsToParentClassAreShunted())->isFalse()79 ->if($generator->shuntParentClassCalls())80 ->then81 ->object($generator->unshuntParentClassCalls())->isIdenticalTo($generator)82 ->boolean($generator->callsToParentClassAreShunted())->isFalse()83 ;84 }85 public function testAllIsInterface()86 {87 $this88 ->if($generator = new testedClass())89 ->then90 ->object($generator->allIsInterface())->isIdenticalTo($generator)91 ;92 }93 public function testTestedClassIs()94 {95 $this96 ->if($generator = new testedClass())97 ->then98 ->object($generator->testedClassIs(uniqid()))->isIdenticalTo($generator)99 ;100 }101 public function testOverload()102 {103 $this104 ->if($generator = new testedClass())105 ->then106 ->object($generator->overload(new mock\php\method($method = uniqid())))->isIdenticalTo($generator)107 ->boolean($generator->isOverloaded($method))->isTrue()108 ;109 }110 public function testIsOverloaded()111 {112 $this113 ->if($generator = new testedClass())114 ->then115 ->boolean($generator->isOverloaded(uniqid()))->isFalse()116 ->if($generator->overload(new mock\php\method($method = uniqid())))117 ->then118 ->boolean($generator->isOverloaded($method))->isTrue()119 ;120 }121 public function testGetOverload()122 {123 $this124 ->if($generator = new testedClass())125 ->then126 ->variable($generator->getOverload(uniqid()))->isNull()127 ->if($generator->overload($overload = new mock\php\method(uniqid())))128 ->then129 ->object($generator->getOverload($overload->getName()))->isIdenticalTo($overload)130 ;131 }132 public function testShunt()133 {134 $this135 ->if($generator = new testedClass())136 ->then137 ->object($generator->shunt($method = uniqid()))->isIdenticalTo($generator)138 ->boolean($generator->isShunted($method))->isTrue()139 ->boolean($generator->isShunted(strtoupper($method)))->isTrue()140 ->boolean($generator->isShunted(strtolower($method)))->isTrue()141 ->boolean($generator->isShunted(uniqid()))->isFalse()142 ;143 }144 public function testDisallowUndefinedMethodUsage()145 {146 $this147 ->if($generator = new testedClass())148 ->then149 ->object($generator->disallowUndefinedMethodUsage())->isIdenticalTo($generator)150 ;151 }152 public function testOrphanize()153 {154 $this155 ->if($generator = new testedClass())156 ->then157 ->object($generator->orphanize($method = uniqid()))->isIdenticalTo($generator)158 ->boolean($generator->isOrphanized($method))->isTrue()159 ->boolean($generator->isShunted($method))->isTrue()160 ;161 }162 public function testGetMockedClassCodeForUnknownClass()163 {164 $this165 ->if($generator = new testedClass())166 ->and($adapter = new atoum\test\adapter())167 ->and($adapter->class_exists = false)168 ->and($generator->setAdapter($adapter))169 ->then170 ->string($generator->getMockedClassCode($unknownClass = uniqid()))->isEqualTo(171 'namespace mock {' . PHP_EOL .172 'final class ' . $unknownClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .173 '{' . PHP_EOL .174 $this->getMockControllerMethods() .175 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .176 "\t" . '{' . PHP_EOL .177 "\t\t" . 'if ($mockController === null)' . PHP_EOL .178 "\t\t" . '{' . PHP_EOL .179 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .180 "\t\t" . '}' . PHP_EOL .181 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .182 "\t\t" . '{' . PHP_EOL .183 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .184 "\t\t" . '}' . PHP_EOL .185 "\t\t" . '$this->getMockController()->disableMethodChecking();' . PHP_EOL .186 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .187 "\t\t" . '{' . PHP_EOL .188 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .189 "\t\t" . '}' . PHP_EOL .190 "\t" . '}' . PHP_EOL .191 "\t" . 'public function __call($methodName, $arguments)' . PHP_EOL .192 "\t" . '{' . PHP_EOL .193 "\t\t" . 'if (isset($this->getMockController()->{$methodName}) === true)' . PHP_EOL .194 "\t\t" . '{' . PHP_EOL .195 "\t\t\t" . '$return = $this->getMockController()->invoke($methodName, $arguments);' . PHP_EOL .196 "\t\t\t" . 'return $return;' . PHP_EOL .197 "\t\t" . '}' . PHP_EOL .198 "\t\t" . 'else' . PHP_EOL .199 "\t\t" . '{' . PHP_EOL .200 "\t\t\t" . '$this->getMockController()->addCall($methodName, $arguments);' . PHP_EOL .201 "\t\t" . '}' . PHP_EOL .202 "\t" . '}' . PHP_EOL .203 "\t" . 'public static function getMockedMethods()' . PHP_EOL .204 "\t" . '{' . PHP_EOL .205 "\t\t" . 'return ' . var_export(['__call'], true) . ';' . PHP_EOL .206 "\t" . '}' . PHP_EOL .207 '}' . PHP_EOL .208 '}'209 )210 ->if($unknownClass = __NAMESPACE__ . '\dummy')211 ->and($generator->generate($unknownClass))212 ->and($mockedUnknownClass = '\mock\\' . $unknownClass)213 ->and($dummy = new $mockedUnknownClass())214 ->and($dummyController = new atoum\mock\controller())215 ->and($dummyController->notControlNextNewMock())216 ->and($calls = new \mock\mageekguy\atoum\test\adapter\calls())217 ->and($dummyController->setCalls($calls))218 ->and($dummyController->control($dummy))219 ->then220 ->when(function () use ($dummy) {221 $dummy->bar();222 })223 ->mock($calls)->call('addCall')->withArguments(new atoum\test\adapter\call('bar', [], new decorators\addClass($dummy)))->once()224 ->when(function () use ($dummy) {225 $dummy->bar();226 })227 ->mock($calls)->call('addCall')->withArguments(new atoum\test\adapter\call('bar', [], new decorators\addClass($dummy)))->twice()228 ;229 }230 public function testGetMockedClassCodeForRealClass()231 {232 $this233 ->if($generator = new testedClass())234 ->and($reflectionMethodController = new mock\controller())235 ->and($reflectionMethodController->__construct = function () {236 })237 ->and($reflectionMethodController->getName = '__construct')238 ->and($reflectionMethodController->isConstructor = true)239 ->and($reflectionMethodController->getParameters = [])240 ->and($reflectionMethodController->isPublic = true)241 ->and($reflectionMethodController->isProtected = false)242 ->and($reflectionMethodController->isPrivate = false)243 ->and($reflectionMethodController->isFinal = false)244 ->and($reflectionMethodController->isStatic = false)245 ->and($reflectionMethodController->isAbstract = false)246 ->and($reflectionMethodController->returnsReference = false)247 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))248 ->and($reflectionClassController = new mock\controller())249 ->and($reflectionClassController->__construct = function () {250 })251 ->and($reflectionClassController->getName = function () use (& $realClass) {252 return $realClass;253 })254 ->and($reflectionClassController->isFinal = false)255 ->and($reflectionClassController->isInterface = false)256 ->and($reflectionClassController->isAbstract = false)257 ->and($reflectionClassController->getMethods = [$reflectionMethod])258 ->and($reflectionClassController->getConstructor = $reflectionMethod)259 ->and($reflectionClass = new \mock\reflectionClass(null))260 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {261 return $reflectionClass;262 }))263 ->and($adapter = new atoum\test\adapter())264 ->and($adapter->class_exists = function ($class) use (& $realClass) {265 return ($class == '\\' . $realClass);266 })267 ->and($generator->setAdapter($adapter))268 ->then269 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(270 'namespace mock {' . PHP_EOL .271 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .272 '{' . PHP_EOL .273 $this->getMockControllerMethods() .274 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .275 "\t" . '{' . PHP_EOL .276 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .277 "\t\t" . 'if ($mockController === null)' . PHP_EOL .278 "\t\t" . '{' . PHP_EOL .279 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .280 "\t\t" . '}' . PHP_EOL .281 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .282 "\t\t" . '{' . PHP_EOL .283 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .284 "\t\t" . '}' . PHP_EOL .285 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .286 "\t\t" . '{' . PHP_EOL .287 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .288 "\t\t" . '}' . PHP_EOL .289 "\t\t" . 'else' . PHP_EOL .290 "\t\t" . '{' . PHP_EOL .291 "\t\t\t" . '$this->getMockController()->addCall(\'__construct\', $arguments);' . PHP_EOL .292 "\t\t\t" . 'call_user_func_array(\'parent::__construct\', $arguments);' . PHP_EOL .293 "\t\t" . '}' . PHP_EOL .294 "\t" . '}' . PHP_EOL .295 "\t" . 'public static function getMockedMethods()' . PHP_EOL .296 "\t" . '{' . PHP_EOL .297 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .298 "\t" . '}' . PHP_EOL .299 '}' . PHP_EOL .300 '}'301 )302 ;303 }304 public function testGetMockedClassCodeForRealClassWithDeprecatedConstructor()305 {306 $this307 ->if($generator = new testedClass())308 ->and($reflectionMethodController = new mock\controller())309 ->and($reflectionMethodController->__construct = function () {310 })311 ->and($reflectionMethodController->getName = $realClass = uniqid())312 ->and($reflectionMethodController->isConstructor = true)313 ->and($reflectionMethodController->getParameters = [])314 ->and($reflectionMethodController->isPublic = true)315 ->and($reflectionMethodController->isProtected = false)316 ->and($reflectionMethodController->isPrivate = false)317 ->and($reflectionMethodController->isFinal = false)318 ->and($reflectionMethodController->isStatic = false)319 ->and($reflectionMethodController->isAbstract = false)320 ->and($reflectionMethodController->returnsReference = false)321 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))322 ->and($reflectionClassController = new mock\controller())323 ->and($reflectionClassController->__construct = function () {324 })325 ->and($reflectionClassController->getName = $realClass)326 ->and($reflectionClassController->isFinal = false)327 ->and($reflectionClassController->isInterface = false)328 ->and($reflectionClassController->isAbstract = false)329 ->and($reflectionClassController->getMethods = [$reflectionMethod])330 ->and($reflectionClassController->getConstructor = $reflectionMethod)331 ->and($reflectionClass = new \mock\reflectionClass(null))332 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {333 return $reflectionClass;334 }))335 ->and($adapter = new atoum\test\adapter())336 ->and($adapter->class_exists = function ($class) use (& $realClass) {337 return ($class == '\\' . $realClass);338 })339 ->and($generator->setAdapter($adapter))340 ->then341 ->string($generator->getMockedClassCode($realClass))->isEqualTo(342 'namespace mock {' . PHP_EOL .343 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .344 '{' . PHP_EOL .345 $this->getMockControllerMethods() .346 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .347 "\t" . '{' . PHP_EOL .348 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .349 "\t\t" . 'if ($mockController === null)' . PHP_EOL .350 "\t\t" . '{' . PHP_EOL .351 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .352 "\t\t" . '}' . PHP_EOL .353 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .354 "\t\t" . '{' . PHP_EOL .355 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .356 "\t\t" . '}' . PHP_EOL .357 "\t\t" . 'if (isset($this->getMockController()->' . $realClass . ') === true)' . PHP_EOL .358 "\t\t" . '{' . PHP_EOL .359 "\t\t\t" . '$this->getMockController()->invoke(\'' . $realClass . '\', $arguments);' . PHP_EOL .360 "\t\t" . '}' . PHP_EOL .361 "\t\t" . 'else' . PHP_EOL .362 "\t\t" . '{' . PHP_EOL .363 "\t\t\t" . '$this->getMockController()->addCall(\'' . $realClass . '\', $arguments);' . PHP_EOL .364 "\t\t\t" . 'call_user_func_array(\'parent::' . $realClass . '\', $arguments);' . PHP_EOL .365 "\t\t" . '}' . PHP_EOL .366 "\t" . '}' . PHP_EOL .367 "\t" . 'public static function getMockedMethods()' . PHP_EOL .368 "\t" . '{' . PHP_EOL .369 "\t\t" . 'return ' . var_export([$realClass], true) . ';' . PHP_EOL .370 "\t" . '}' . PHP_EOL .371 '}' . PHP_EOL .372 '}'373 )374 ;375 }376 /** @php < 7.0 */377 public function testGetMockedClassCodeForRealClassWithCallsToParentClassShunted()378 {379 $this380 ->if($generator = new testedClass())381 ->and($reflectionMethodController = new mock\controller())382 ->and($reflectionMethodController->__construct = function () {383 })384 ->and($reflectionMethodController->getName = '__construct')385 ->and($reflectionMethodController->isConstructor = true)386 ->and($reflectionMethodController->getParameters = [])387 ->and($reflectionMethodController->isPublic = true)388 ->and($reflectionMethodController->isProtected = false)389 ->and($reflectionMethodController->isPrivate = false)390 ->and($reflectionMethodController->isFinal = false)391 ->and($reflectionMethodController->isStatic = false)392 ->and($reflectionMethodController->isAbstract = false)393 ->and($reflectionMethodController->returnsReference = false)394 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))395 ->and($otherReflectionMethodController = new mock\controller())396 ->and($otherReflectionMethodController->__construct = function () {397 })398 ->and($otherReflectionMethodController->getName = $otherMethod = uniqid())399 ->and($otherReflectionMethodController->isConstructor = false)400 ->and($otherReflectionMethodController->getParameters = [])401 ->and($otherReflectionMethodController->isPublic = true)402 ->and($otherReflectionMethodController->isProtected = false)403 ->and($otherReflectionMethodController->isPrivate = false)404 ->and($otherReflectionMethodController->isFinal = false)405 ->and($otherReflectionMethodController->isStatic = false)406 ->and($otherReflectionMethodController->isAbstract = false)407 ->and($otherReflectionMethodController->returnsReference = false)408 ->and($otherReflectionMethod = new \mock\reflectionMethod(null, null))409 ->and($reflectionClassController = new mock\controller())410 ->and($reflectionClassController->__construct = function () {411 })412 ->and($reflectionClassController->getName = function () use (& $realClass) {413 return $realClass;414 })415 ->and($reflectionClassController->isFinal = false)416 ->and($reflectionClassController->isInterface = false)417 ->and($reflectionClassController->isAbstract = false)418 ->and($reflectionClassController->getMethods = [$reflectionMethod, $otherReflectionMethod])419 ->and($reflectionClassController->getConstructor = $reflectionMethod)420 ->and($reflectionClass = new \mock\reflectionClass(null))421 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {422 return $reflectionClass;423 }))424 ->and($adapter = new atoum\test\adapter())425 ->and($adapter->class_exists = function ($class) use (& $realClass) {426 return ($class == '\\' . $realClass);427 })428 ->and($generator->setAdapter($adapter))429 ->and($generator->shuntParentClassCalls())430 ->then431 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(432 'namespace mock {' . PHP_EOL .433 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .434 '{' . PHP_EOL .435 $this->getMockControllerMethods() .436 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .437 "\t" . '{' . PHP_EOL .438 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .439 "\t\t" . 'if ($mockController === null)' . PHP_EOL .440 "\t\t" . '{' . PHP_EOL .441 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .442 "\t\t" . '}' . PHP_EOL .443 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .444 "\t\t" . '{' . PHP_EOL .445 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .446 "\t\t" . '}' . PHP_EOL .447 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .448 "\t\t" . '{' . PHP_EOL .449 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .450 "\t\t" . '}' . PHP_EOL .451 "\t\t" . 'else' . PHP_EOL .452 "\t\t" . '{' . PHP_EOL .453 "\t\t\t" . '$this->getMockController()->addCall(\'__construct\', $arguments);' . PHP_EOL .454 "\t\t" . '}' . PHP_EOL .455 "\t" . '}' . PHP_EOL .456 "\t" . 'public function ' . $otherMethod . '()' . PHP_EOL .457 "\t" . '{' . PHP_EOL .458 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .459 "\t\t" . 'if (isset($this->getMockController()->' . $otherMethod . ') === true)' . PHP_EOL .460 "\t\t" . '{' . PHP_EOL .461 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $otherMethod . '\', $arguments);' . PHP_EOL .462 "\t\t\t" . 'return $return;' . PHP_EOL .463 "\t\t" . '}' . PHP_EOL .464 "\t\t" . 'else' . PHP_EOL .465 "\t\t" . '{' . PHP_EOL .466 "\t\t\t" . '$this->getMockController()->addCall(\'' . $otherMethod . '\', $arguments);' . PHP_EOL .467 "\t\t" . '}' . PHP_EOL .468 "\t" . '}' . PHP_EOL .469 "\t" . 'public static function getMockedMethods()' . PHP_EOL .470 "\t" . '{' . PHP_EOL .471 "\t\t" . 'return ' . var_export(['__construct', $otherMethod], true) . ';' . PHP_EOL .472 "\t" . '}' . PHP_EOL .473 '}' . PHP_EOL .474 '}'475 )476 ;477 }478 /** @php >= 7.0 */479 public function testGetMockedClassCodeForRealClassWithCallsToParentClassShuntedPhp7()480 {481 $this482 ->if($generator = new testedClass())483 ->and($reflectionMethodController = new mock\controller())484 ->and($reflectionMethodController->__construct = function () {485 })486 ->and($reflectionMethodController->getName = '__construct')487 ->and($reflectionMethodController->isConstructor = true)488 ->and($reflectionMethodController->getParameters = [])489 ->and($reflectionMethodController->isPublic = true)490 ->and($reflectionMethodController->isProtected = false)491 ->and($reflectionMethodController->isPrivate = false)492 ->and($reflectionMethodController->isFinal = false)493 ->and($reflectionMethodController->isStatic = false)494 ->and($reflectionMethodController->isAbstract = false)495 ->and($reflectionMethodController->returnsReference = false)496 ->and($reflectionMethodController->hasReturnType = false)497 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))498 ->and($otherReflectionMethodController = new mock\controller())499 ->and($otherReflectionMethodController->__construct = function () {500 })501 ->and($otherReflectionMethodController->getName = $otherMethod = uniqid())502 ->and($otherReflectionMethodController->isConstructor = false)503 ->and($otherReflectionMethodController->getParameters = [])504 ->and($otherReflectionMethodController->isPublic = true)505 ->and($otherReflectionMethodController->isProtected = false)506 ->and($otherReflectionMethodController->isPrivate = false)507 ->and($otherReflectionMethodController->isFinal = false)508 ->and($otherReflectionMethodController->isStatic = false)509 ->and($otherReflectionMethodController->isAbstract = false)510 ->and($otherReflectionMethodController->returnsReference = false)511 ->and($otherReflectionMethodController->hasReturnType = false)512 ->and($otherReflectionMethod = new \mock\reflectionMethod(null, null))513 ->and($reflectionClassController = new mock\controller())514 ->and($reflectionClassController->__construct = function () {515 })516 ->and($reflectionClassController->getName = function () use (& $realClass) {517 return $realClass;518 })519 ->and($reflectionClassController->isFinal = false)520 ->and($reflectionClassController->isInterface = false)521 ->and($reflectionClassController->isAbstract = false)522 ->and($reflectionClassController->getMethods = [$reflectionMethod, $otherReflectionMethod])523 ->and($reflectionClassController->getConstructor = $reflectionMethod)524 ->and($reflectionClass = new \mock\reflectionClass(null))525 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {526 return $reflectionClass;527 }))528 ->and($adapter = new atoum\test\adapter())529 ->and($adapter->class_exists = function ($class) use (& $realClass) {530 return ($class == '\\' . $realClass);531 })532 ->and($generator->setAdapter($adapter))533 ->and($generator->shuntParentClassCalls())534 ->then535 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(536 'namespace mock {' . PHP_EOL .537 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .538 '{' . PHP_EOL .539 $this->getMockControllerMethods() .540 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .541 "\t" . '{' . PHP_EOL .542 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .543 "\t\t" . 'if ($mockController === null)' . PHP_EOL .544 "\t\t" . '{' . PHP_EOL .545 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .546 "\t\t" . '}' . PHP_EOL .547 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .548 "\t\t" . '{' . PHP_EOL .549 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .550 "\t\t" . '}' . PHP_EOL .551 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .552 "\t\t" . '{' . PHP_EOL .553 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .554 "\t\t" . '}' . PHP_EOL .555 "\t\t" . 'else' . PHP_EOL .556 "\t\t" . '{' . PHP_EOL .557 "\t\t\t" . '$this->getMockController()->addCall(\'__construct\', $arguments);' . PHP_EOL .558 "\t\t" . '}' . PHP_EOL .559 "\t" . '}' . PHP_EOL .560 "\t" . 'public function ' . $otherMethod . '()' . PHP_EOL .561 "\t" . '{' . PHP_EOL .562 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .563 "\t\t" . 'if (isset($this->getMockController()->' . $otherMethod . ') === true)' . PHP_EOL .564 "\t\t" . '{' . PHP_EOL .565 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $otherMethod . '\', $arguments);' . PHP_EOL .566 "\t\t\t" . 'return $return;' . PHP_EOL .567 "\t\t" . '}' . PHP_EOL .568 "\t\t" . 'else' . PHP_EOL .569 "\t\t" . '{' . PHP_EOL .570 "\t\t\t" . '$this->getMockController()->addCall(\'' . $otherMethod . '\', $arguments);' . PHP_EOL .571 "\t\t" . '}' . PHP_EOL .572 "\t" . '}' . PHP_EOL .573 "\t" . 'public static function getMockedMethods()' . PHP_EOL .574 "\t" . '{' . PHP_EOL .575 "\t\t" . 'return ' . var_export(['__construct', $otherMethod], true) . ';' . PHP_EOL .576 "\t" . '}' . PHP_EOL .577 '}' . PHP_EOL .578 '}'579 )580 ;581 }582 public function testGetMockedClassCodeWithOverloadMethod()583 {584 $this585 ->if($generator = new testedClass())586 ->and($reflectionMethodController = new mock\controller())587 ->and($reflectionMethodController->__construct = function () {588 })589 ->and($reflectionMethodController->getName = '__construct')590 ->and($reflectionMethodController->isConstructor = true)591 ->and($reflectionMethodController->getParameters = [])592 ->and($reflectionMethodController->isPublic = true)593 ->and($reflectionMethodController->isProtected = false)594 ->and($reflectionMethodController->isPrivate = false)595 ->and($reflectionMethodController->isFinal = false)596 ->and($reflectionMethodController->isAbstract = false)597 ->and($reflectionMethodController->isStatic = false)598 ->and($reflectionMethodController->returnsReference = false)599 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))600 ->and($reflectionClassController = new mock\controller())601 ->and($reflectionClassController->__construct = function () {602 })603 ->and($reflectionClassController->getName = function () use (& $realClass) {604 return $realClass;605 })606 ->and($reflectionClassController->isFinal = false)607 ->and($reflectionClassController->isInterface = false)608 ->and($reflectionClassController->getMethods = [$reflectionMethod])609 ->and($reflectionClassController->getConstructor = $reflectionMethod)610 ->and($reflectionClassController->isAbstract = false)611 ->and($reflectionClass = new \mock\reflectionClass(null))612 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {613 return $reflectionClass;614 }))615 ->and($adapter = new atoum\test\adapter())616 ->and($adapter->class_exists = function ($class) use (& $realClass) {617 return ($class == '\\' . $realClass);618 })619 ->and($generator->setAdapter($adapter))620 ->and($overloadedMethod = new mock\php\method('__construct'))621 ->and($overloadedMethod->addArgument($argument = new mock\php\method\argument(uniqid())))622 ->and($generator->overload($overloadedMethod))623 ->then624 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(625 'namespace mock {' . PHP_EOL .626 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .627 '{' . PHP_EOL .628 $this->getMockControllerMethods() .629 "\t" . '' . $overloadedMethod . PHP_EOL .630 "\t" . '{' . PHP_EOL .631 "\t\t" . '$arguments = array_merge(array(' . $argument . '), array_slice(func_get_args(), 1, -1));' . PHP_EOL .632 "\t\t" . 'if ($mockController === null)' . PHP_EOL .633 "\t\t" . '{' . PHP_EOL .634 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .635 "\t\t" . '}' . PHP_EOL .636 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .637 "\t\t" . '{' . PHP_EOL .638 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .639 "\t\t" . '}' . PHP_EOL .640 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .641 "\t\t" . '{' . PHP_EOL .642 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .643 "\t\t" . '}' . PHP_EOL .644 "\t\t" . 'else' . PHP_EOL .645 "\t\t" . '{' . PHP_EOL .646 "\t\t\t" . '$this->getMockController()->addCall(\'__construct\', $arguments);' . PHP_EOL .647 "\t\t\t" . 'call_user_func_array(\'parent::__construct\', $arguments);' . PHP_EOL .648 "\t\t" . '}' . PHP_EOL .649 "\t" . '}' . PHP_EOL .650 "\t" . 'public static function getMockedMethods()' . PHP_EOL .651 "\t" . '{' . PHP_EOL .652 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .653 "\t" . '}' . PHP_EOL .654 '}' . PHP_EOL .655 '}'656 )657 ;658 }659 public function testGetMockedClassCodeWithAbstractMethod()660 {661 $this662 ->if($generator = new testedClass())663 ->and($realClass = uniqid())664 ->and($reflectionMethodController = new mock\controller())665 ->and($reflectionMethodController->__construct = function () {666 })667 ->and($reflectionMethodController->getName = function () {668 return '__construct';669 })670 ->and($reflectionMethodController->isConstructor = true)671 ->and($reflectionMethodController->getParameters = [])672 ->and($reflectionMethodController->isPublic = true)673 ->and($reflectionMethodController->isProtected = false)674 ->and($reflectionMethodController->isPrivate = false)675 ->and($reflectionMethodController->isFinal = false)676 ->and($reflectionMethodController->isStatic = false)677 ->and($reflectionMethodController->isAbstract = true)678 ->and($reflectionMethodController->returnsReference = false)679 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))680 ->and($reflectionClassController = new mock\controller())681 ->and($reflectionClassController->__construct = function () {682 })683 ->and($reflectionClassController->getName = function () use ($realClass) {684 return $realClass;685 })686 ->and($reflectionClassController->isFinal = false)687 ->and($reflectionClassController->isInterface = false)688 ->and($reflectionClassController->getMethods = [$reflectionMethod])689 ->and($reflectionClassController->getConstructor = $reflectionMethod)690 ->and($reflectionClassController->isAbstract = false)691 ->and($reflectionClass = new \mock\reflectionClass(null))692 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {693 return $reflectionClass;694 }))695 ->and($adapter = new atoum\test\adapter())696 ->and($adapter->class_exists = function ($class) use ($realClass) {697 return ($class == '\\' . $realClass);698 })699 ->and($generator->setAdapter($adapter))700 ->then701 ->string($generator->getMockedClassCode($realClass))->isEqualTo(702 'namespace mock {' . PHP_EOL .703 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .704 '{' . PHP_EOL .705 $this->getMockControllerMethods() .706 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .707 "\t" . '{' . PHP_EOL .708 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .709 "\t\t" . 'if ($mockController === null)' . PHP_EOL .710 "\t\t" . '{' . PHP_EOL .711 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .712 "\t\t" . '}' . PHP_EOL .713 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .714 "\t\t" . '{' . PHP_EOL .715 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .716 "\t\t" . '}' . PHP_EOL .717 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .718 "\t\t" . '{' . PHP_EOL .719 "\t\t\t" . '$this->getMockController()->__construct = function() {};' . PHP_EOL .720 "\t\t" . '}' . PHP_EOL .721 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .722 "\t" . '}' . PHP_EOL .723 "\t" . 'public static function getMockedMethods()' . PHP_EOL .724 "\t" . '{' . PHP_EOL .725 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .726 "\t" . '}' . PHP_EOL .727 '}' . PHP_EOL .728 '}'729 )730 ;731 }732 public function testGetMockedClassCodeWithShuntedMethod()733 {734 $this735 ->if($generator = new testedClass())736 ->and($realClass = uniqid())737 ->and($reflectionMethodController = new mock\controller())738 ->and($reflectionMethodController->__construct = function () {739 })740 ->and($reflectionMethodController->getName = function () {741 return '__construct';742 })743 ->and($reflectionMethodController->isConstructor = true)744 ->and($reflectionMethodController->isAbstract = false)745 ->and($reflectionMethodController->getParameters = [])746 ->and($reflectionMethodController->isPublic = true)747 ->and($reflectionMethodController->isProtected = false)748 ->and($reflectionMethodController->isPrivate = false)749 ->and($reflectionMethodController->isFinal = false)750 ->and($reflectionMethodController->isStatic = false)751 ->and($reflectionMethodController->returnsReference = false)752 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))753 ->and($reflectionClassController = new mock\controller())754 ->and($reflectionClassController->__construct = function () {755 })756 ->and($reflectionClassController->getName = function () use ($realClass) {757 return $realClass;758 })759 ->and($reflectionClassController->isFinal = false)760 ->and($reflectionClassController->isInterface = false)761 ->and($reflectionClassController->getMethods = [$reflectionMethod])762 ->and($reflectionClassController->getConstructor = $reflectionMethod)763 ->and($reflectionClassController->isAbstract = false)764 ->and($reflectionClass = new \mock\reflectionClass(null))765 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {766 return $reflectionClass;767 }))768 ->and($adapter = new atoum\test\adapter())769 ->and($adapter->class_exists = function ($class) use ($realClass) {770 return ($class == '\\' . $realClass);771 })772 ->and($generator->setAdapter($adapter))773 ->and($generator->shunt('__construct'))774 ->then775 ->string($generator->getMockedClassCode($realClass))->isEqualTo(776 'namespace mock {' . PHP_EOL .777 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .778 '{' . PHP_EOL .779 $this->getMockControllerMethods() .780 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .781 "\t" . '{' . PHP_EOL .782 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .783 "\t\t" . 'if ($mockController === null)' . PHP_EOL .784 "\t\t" . '{' . PHP_EOL .785 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .786 "\t\t" . '}' . PHP_EOL .787 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .788 "\t\t" . '{' . PHP_EOL .789 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .790 "\t\t" . '}' . PHP_EOL .791 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .792 "\t\t" . '{' . PHP_EOL .793 "\t\t\t" . '$this->getMockController()->__construct = function() {};' . PHP_EOL .794 "\t\t" . '}' . PHP_EOL .795 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .796 "\t" . '}' . PHP_EOL .797 "\t" . 'public static function getMockedMethods()' . PHP_EOL .798 "\t" . '{' . PHP_EOL .799 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .800 "\t" . '}' . PHP_EOL .801 '}' . PHP_EOL .802 '}'803 )804 ;805 }806 /** @php < 7.0 */807 public function testGetMockedClassCodeWithAllIsInterface()808 {809 $this810 ->if($generator = new testedClass())811 ->and($realClass = uniqid())812 ->and($reflectionMethodController = new mock\controller())813 ->and($reflectionMethodController->__construct = function () {814 })815 ->and($reflectionMethodController->getName = 'foo')816 ->and($reflectionMethodController->isConstructor = false)817 ->and($reflectionMethodController->getParameters = [])818 ->and($reflectionMethodController->isPublic = true)819 ->and($reflectionMethodController->isProtected = false)820 ->and($reflectionMethodController->isPrivate = false)821 ->and($reflectionMethodController->isFinal = false)822 ->and($reflectionMethodController->isAbstract = false)823 ->and($reflectionMethodController->isStatic = false)824 ->and($reflectionMethodController->returnsReference = false)825 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))826 ->and($reflectionClassController = new mock\controller())827 ->and($reflectionClassController->__construct = function () {828 })829 ->and($reflectionClassController->getName = function () use ($realClass) {830 return $realClass;831 })832 ->and($reflectionClassController->isFinal = false)833 ->and($reflectionClassController->isInterface = false)834 ->and($reflectionClassController->getMethods = [$reflectionMethod])835 ->and($reflectionClassController->getConstructor = null)836 ->and($reflectionClassController->isAbstract = false)837 ->and($reflectionClass = new \mock\reflectionClass(null))838 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {839 return $reflectionClass;840 }))841 ->and($adapter = new atoum\test\adapter())842 ->and($adapter->class_exists = function ($class) use ($realClass) {843 return ($class == '\\' . $realClass);844 })845 ->and($generator->setAdapter($adapter))846 ->and($generator->shunt('__construct'))847 ->and($generator->allIsInterface())848 ->then849 ->string($generator->getMockedClassCode($realClass))->isEqualTo(850 'namespace mock {' . PHP_EOL .851 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .852 '{' . PHP_EOL .853 $this->getMockControllerMethods() .854 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .855 "\t" . '{' . PHP_EOL .856 "\t\t" . 'if ($mockController === null)' . PHP_EOL .857 "\t\t" . '{' . PHP_EOL .858 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .859 "\t\t" . '}' . PHP_EOL .860 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .861 "\t\t" . '{' . PHP_EOL .862 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .863 "\t\t" . '}' . PHP_EOL .864 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .865 "\t\t" . '{' . PHP_EOL .866 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .867 "\t\t" . '}' . PHP_EOL .868 "\t" . '}' . PHP_EOL .869 "\t" . 'public function foo()' . PHP_EOL .870 "\t" . '{' . PHP_EOL .871 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .872 "\t\t" . 'if (isset($this->getMockController()->foo) === false)' . PHP_EOL .873 "\t\t" . '{' . PHP_EOL .874 "\t\t\t" . '$this->getMockController()->foo = function() {' . PHP_EOL .875 "\t\t\t" . '};' . PHP_EOL .876 "\t\t" . '}' . PHP_EOL .877 "\t\t" . '$return = $this->getMockController()->invoke(\'foo\', $arguments);' . PHP_EOL .878 "\t\t" . 'return $return;' . PHP_EOL .879 "\t" . '}' . PHP_EOL .880 "\t" . 'public static function getMockedMethods()' . PHP_EOL .881 "\t" . '{' . PHP_EOL .882 "\t\t" . 'return ' . var_export(['__construct', 'foo'], true) . ';' . PHP_EOL .883 "\t" . '}' . PHP_EOL .884 '}' . PHP_EOL .885 '}'886 )887 ->if($generator->testedClassIs($realClass))888 ->then889 ->string($generator->getMockedClassCode($realClass))->isEqualTo(890 'namespace mock {' . PHP_EOL .891 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .892 '{' . PHP_EOL .893 $this->getMockControllerMethods() .894 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .895 "\t" . '{' . PHP_EOL .896 "\t\t" . 'if ($mockController === null)' . PHP_EOL .897 "\t\t" . '{' . PHP_EOL .898 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .899 "\t\t" . '}' . PHP_EOL .900 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .901 "\t\t" . '{' . PHP_EOL .902 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .903 "\t\t" . '}' . PHP_EOL .904 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .905 "\t\t" . '{' . PHP_EOL .906 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .907 "\t\t" . '}' . PHP_EOL .908 "\t" . '}' . PHP_EOL .909 "\t" . 'public function foo()' . PHP_EOL .910 "\t" . '{' . PHP_EOL .911 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .912 "\t\t" . 'if (isset($this->getMockController()->foo) === true)' . PHP_EOL .913 "\t\t" . '{' . PHP_EOL .914 "\t\t\t" . '$return = $this->getMockController()->invoke(\'foo\', $arguments);' . PHP_EOL .915 "\t\t\t" . 'return $return;' . PHP_EOL .916 "\t\t" . '}' . PHP_EOL .917 "\t\t" . 'else' . PHP_EOL .918 "\t\t" . '{' . PHP_EOL .919 "\t\t\t" . '$this->getMockController()->addCall(\'foo\', $arguments);' . PHP_EOL .920 "\t\t" . '}' . PHP_EOL .921 "\t" . '}' . PHP_EOL .922 "\t" . 'public static function getMockedMethods()' . PHP_EOL .923 "\t" . '{' . PHP_EOL .924 "\t\t" . 'return ' . var_export(['__construct', 'foo'], true) . ';' . PHP_EOL .925 "\t" . '}' . PHP_EOL .926 '}' . PHP_EOL .927 '}'928 )929 ;930 if (version_compare(PHP_VERSION, '5.6.0', '>=')) {931 $this932 ->given($generator = new testedClass())933 ->if($generator->allIsInterface())934 ->then935 ->string($generator->getMockedClassCode('mageekguy\atoum\tests\units\mock\classWithVariadicInConstructor'))->isEqualTo(936 'namespace mock\mageekguy\atoum\tests\units\mock {' . PHP_EOL .937 'final class classWithVariadicInConstructor extends \mageekguy\atoum\tests\units\mock\classWithVariadicInConstructor implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .938 '{' . PHP_EOL .939 $this->getMockControllerMethods() .940 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .941 "\t" . '{' . PHP_EOL .942 "\t\t" . 'if ($mockController === null)' . PHP_EOL .943 "\t\t" . '{' . PHP_EOL .944 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .945 "\t\t" . '}' . PHP_EOL .946 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .947 "\t\t" . '{' . PHP_EOL .948 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .949 "\t\t" . '}' . PHP_EOL .950 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .951 "\t\t" . '{' . PHP_EOL .952 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .953 "\t\t" . '}' . PHP_EOL .954 "\t" . '}' . PHP_EOL .955 "\t" . 'public static function getMockedMethods()' . PHP_EOL .956 "\t" . '{' . PHP_EOL .957 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .958 "\t" . '}' . PHP_EOL .959 '}' . PHP_EOL .960 '}'961 )962 ;963 }964 }965 /** @php >= 7.0 */966 public function testGetMockedClassCodeWithAllIsInterfacePhp7()967 {968 $this969 ->if($generator = new testedClass())970 ->and($realClass = uniqid())971 ->and($reflectionMethodController = new mock\controller())972 ->and($reflectionMethodController->__construct = function () {973 })974 ->and($reflectionMethodController->getName = 'foo')975 ->and($reflectionMethodController->isConstructor = false)976 ->and($reflectionMethodController->getParameters = [])977 ->and($reflectionMethodController->isPublic = true)978 ->and($reflectionMethodController->isProtected = false)979 ->and($reflectionMethodController->isPrivate = false)980 ->and($reflectionMethodController->isFinal = false)981 ->and($reflectionMethodController->isAbstract = false)982 ->and($reflectionMethodController->isStatic = false)983 ->and($reflectionMethodController->returnsReference = false)984 ->and($reflectionMethodController->hasReturnType = false)985 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))986 ->and($reflectionClassController = new mock\controller())987 ->and($reflectionClassController->__construct = function () {988 })989 ->and($reflectionClassController->getName = function () use ($realClass) {990 return $realClass;991 })992 ->and($reflectionClassController->isFinal = false)993 ->and($reflectionClassController->isInterface = false)994 ->and($reflectionClassController->getMethods = [$reflectionMethod])995 ->and($reflectionClassController->getConstructor = null)996 ->and($reflectionClassController->isAbstract = false)997 ->and($reflectionClass = new \mock\reflectionClass(null))998 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {999 return $reflectionClass;1000 }))1001 ->and($adapter = new atoum\test\adapter())1002 ->and($adapter->class_exists = function ($class) use ($realClass) {1003 return ($class == '\\' . $realClass);1004 })1005 ->and($generator->setAdapter($adapter))1006 ->and($generator->shunt('__construct'))1007 ->and($generator->allIsInterface())1008 ->then1009 ->string($generator->getMockedClassCode($realClass))->isEqualTo(1010 'namespace mock {' . PHP_EOL .1011 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .1012 '{' . PHP_EOL .1013 $this->getMockControllerMethods() .1014 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1015 "\t" . '{' . PHP_EOL .1016 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1017 "\t\t" . '{' . PHP_EOL .1018 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1019 "\t\t" . '}' . PHP_EOL .1020 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1021 "\t\t" . '{' . PHP_EOL .1022 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1023 "\t\t" . '}' . PHP_EOL .1024 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .1025 "\t\t" . '{' . PHP_EOL .1026 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .1027 "\t\t" . '}' . PHP_EOL .1028 "\t" . '}' . PHP_EOL .1029 "\t" . 'public function foo()' . PHP_EOL .1030 "\t" . '{' . PHP_EOL .1031 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .1032 "\t\t" . 'if (isset($this->getMockController()->foo) === false)' . PHP_EOL .1033 "\t\t" . '{' . PHP_EOL .1034 "\t\t\t" . '$this->getMockController()->foo = function() {' . PHP_EOL .1035 "\t\t\t" . '};' . PHP_EOL .1036 "\t\t" . '}' . PHP_EOL .1037 "\t\t" . '$return = $this->getMockController()->invoke(\'foo\', $arguments);' . PHP_EOL .1038 "\t\t" . 'return $return;' . PHP_EOL .1039 "\t" . '}' . PHP_EOL .1040 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1041 "\t" . '{' . PHP_EOL .1042 "\t\t" . 'return ' . var_export(['__construct', 'foo'], true) . ';' . PHP_EOL .1043 "\t" . '}' . PHP_EOL .1044 '}' . PHP_EOL .1045 '}'1046 )1047 ->if($generator->testedClassIs($realClass))1048 ->then1049 ->string($generator->getMockedClassCode($realClass))->isEqualTo(1050 'namespace mock {' . PHP_EOL .1051 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .1052 '{' . PHP_EOL .1053 $this->getMockControllerMethods() .1054 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1055 "\t" . '{' . PHP_EOL .1056 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1057 "\t\t" . '{' . PHP_EOL .1058 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1059 "\t\t" . '}' . PHP_EOL .1060 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1061 "\t\t" . '{' . PHP_EOL .1062 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1063 "\t\t" . '}' . PHP_EOL .1064 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .1065 "\t\t" . '{' . PHP_EOL .1066 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .1067 "\t\t" . '}' . PHP_EOL .1068 "\t" . '}' . PHP_EOL .1069 "\t" . 'public function foo()' . PHP_EOL .1070 "\t" . '{' . PHP_EOL .1071 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .1072 "\t\t" . 'if (isset($this->getMockController()->foo) === true)' . PHP_EOL .1073 "\t\t" . '{' . PHP_EOL .1074 "\t\t\t" . '$return = $this->getMockController()->invoke(\'foo\', $arguments);' . PHP_EOL .1075 "\t\t\t" . 'return $return;' . PHP_EOL .1076 "\t\t" . '}' . PHP_EOL .1077 "\t\t" . 'else' . PHP_EOL .1078 "\t\t" . '{' . PHP_EOL .1079 "\t\t\t" . '$this->getMockController()->addCall(\'foo\', $arguments);' . PHP_EOL .1080 "\t\t" . '}' . PHP_EOL .1081 "\t" . '}' . PHP_EOL .1082 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1083 "\t" . '{' . PHP_EOL .1084 "\t\t" . 'return ' . var_export(['__construct', 'foo'], true) . ';' . PHP_EOL .1085 "\t" . '}' . PHP_EOL .1086 '}' . PHP_EOL .1087 '}'1088 )1089 ->given($generator = new testedClass())1090 ->if($generator->allIsInterface())1091 ->then1092 ->string($generator->getMockedClassCode('mageekguy\atoum\tests\units\mock\classWithVariadicInConstructor'))->isEqualTo(1093 'namespace mock\mageekguy\atoum\tests\units\mock {' . PHP_EOL .1094 'final class classWithVariadicInConstructor extends \mageekguy\atoum\tests\units\mock\classWithVariadicInConstructor implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .1095 '{' . PHP_EOL .1096 $this->getMockControllerMethods() .1097 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1098 "\t" . '{' . PHP_EOL .1099 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1100 "\t\t" . '{' . PHP_EOL .1101 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1102 "\t\t" . '}' . PHP_EOL .1103 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1104 "\t\t" . '{' . PHP_EOL .1105 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1106 "\t\t" . '}' . PHP_EOL .1107 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .1108 "\t\t" . '{' . PHP_EOL .1109 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .1110 "\t\t" . '}' . PHP_EOL .1111 "\t" . '}' . PHP_EOL .1112 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1113 "\t" . '{' . PHP_EOL .1114 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .1115 "\t" . '}' . PHP_EOL .1116 '}' . PHP_EOL .1117 '}'1118 )1119 ;1120 }1121 /** @php < 7.0 */1122 public function testGetMockedClassCodeWithCloneMethod()1123 {1124 $this1125 ->if($generator = new testedClass())1126 ->and($realClass = uniqid())1127 ->and($reflectionMethodController = new mock\controller())1128 ->and($reflectionMethodController->__construct = function () {1129 })1130 ->and($reflectionMethodController->getName = 'clone')1131 ->and($reflectionMethodController->isConstructor = false)1132 ->and($reflectionMethodController->isAbstract = false)1133 ->and($reflectionMethodController->getParameters = [])1134 ->and($reflectionMethodController->isPublic = true)1135 ->and($reflectionMethodController->isProtected = false)1136 ->and($reflectionMethodController->isPrivate = false)1137 ->and($reflectionMethodController->isFinal = false)1138 ->and($reflectionMethodController->isStatic = false)1139 ->and($reflectionMethodController->returnsReference = false)1140 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))1141 ->and($reflectionClassController = new mock\controller())1142 ->and($reflectionClassController->__construct = function () {1143 })1144 ->and($reflectionClassController->getName = $realClass)1145 ->and($reflectionClassController->isFinal = false)1146 ->and($reflectionClassController->isInterface = false)1147 ->and($reflectionClassController->getMethods = [$reflectionMethod])1148 ->and($reflectionClassController->getConstructor = null)1149 ->and($reflectionClassController->isAbstract = false)1150 ->and($reflectionClass = new \mock\reflectionClass(null))1151 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {1152 return $reflectionClass;1153 }))1154 ->and($adapter = new atoum\test\adapter())1155 ->and($adapter->class_exists = function ($class) use ($realClass) {1156 return ($class == '\\' . $realClass);1157 })1158 ->and($generator->setAdapter($adapter))1159 ->then1160 ->string($generator->getMockedClassCode($realClass))->isEqualTo(1161 'namespace mock {' . PHP_EOL .1162 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .1163 '{' . PHP_EOL .1164 $this->getMockControllerMethods() .1165 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1166 "\t" . '{' . PHP_EOL .1167 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1168 "\t\t" . '{' . PHP_EOL .1169 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1170 "\t\t" . '}' . PHP_EOL .1171 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1172 "\t\t" . '{' . PHP_EOL .1173 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1174 "\t\t" . '}' . PHP_EOL .1175 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .1176 "\t\t" . '{' . PHP_EOL .1177 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .1178 "\t\t" . '}' . PHP_EOL .1179 "\t" . '}' . PHP_EOL .1180 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1181 "\t" . '{' . PHP_EOL .1182 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .1183 "\t" . '}' . PHP_EOL .1184 '}' . PHP_EOL .1185 '}'1186 )1187 ;1188 }1189 public function testGetMockedClassCodeWithShuntedDeprecatedConstructor()1190 {1191 $this1192 ->if($generator = new testedClass())1193 ->and($reflectionMethodController = new mock\controller())1194 ->and($reflectionMethodController->__construct = function () {1195 })1196 ->and($reflectionMethodController->getName = $realClass = uniqid())1197 ->and($reflectionMethodController->isConstructor = true)1198 ->and($reflectionMethodController->isAbstract = false)1199 ->and($reflectionMethodController->getParameters = [])1200 ->and($reflectionMethodController->isPublic = true)1201 ->and($reflectionMethodController->isProtected = false)1202 ->and($reflectionMethodController->isPrivate = false)1203 ->and($reflectionMethodController->isFinal = false)1204 ->and($reflectionMethodController->isStatic = false)1205 ->and($reflectionMethodController->returnsReference = false)1206 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))1207 ->and($reflectionClassController = new mock\controller())1208 ->and($reflectionClassController->__construct = function () {1209 })1210 ->and($reflectionClassController->getName = $realClass)1211 ->and($reflectionClassController->isFinal = false)1212 ->and($reflectionClassController->isInterface = false)1213 ->and($reflectionClassController->getMethods = [$reflectionMethod])1214 ->and($reflectionClassController->getConstructor = $reflectionMethod)1215 ->and($reflectionClassController->isAbstract = false)1216 ->and($reflectionClass = new \mock\reflectionClass(null))1217 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {1218 return $reflectionClass;1219 }))1220 ->and($adapter = new atoum\test\adapter())1221 ->and($adapter->class_exists = function ($class) use ($realClass) {1222 return ($class == '\\' . $realClass);1223 })1224 ->and($generator->setAdapter($adapter))1225 ->and($generator->shunt($realClass))1226 ->then1227 ->string($generator->getMockedClassCode($realClass))->isEqualTo(1228 'namespace mock {' . PHP_EOL .1229 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .1230 '{' . PHP_EOL .1231 $this->getMockControllerMethods() .1232 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1233 "\t" . '{' . PHP_EOL .1234 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .1235 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1236 "\t\t" . '{' . PHP_EOL .1237 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1238 "\t\t" . '}' . PHP_EOL .1239 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1240 "\t\t" . '{' . PHP_EOL .1241 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1242 "\t\t" . '}' . PHP_EOL .1243 "\t\t" . 'if (isset($this->getMockController()->' . $realClass . ') === false)' . PHP_EOL .1244 "\t\t" . '{' . PHP_EOL .1245 "\t\t\t" . '$this->getMockController()->' . $realClass . ' = function() {};' . PHP_EOL .1246 "\t\t" . '}' . PHP_EOL .1247 "\t\t" . '$this->getMockController()->invoke(\'' . $realClass . '\', $arguments);' . PHP_EOL .1248 "\t" . '}' . PHP_EOL .1249 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1250 "\t" . '{' . PHP_EOL .1251 "\t\t" . 'return ' . var_export([$realClass], true) . ';' . PHP_EOL .1252 "\t" . '}' . PHP_EOL .1253 '}' . PHP_EOL .1254 '}'1255 )1256 ;1257 }1258 /** @php < 7.0 */1259 public function testGetMockedClassCodeForInterface()1260 {1261 $this1262 ->if($generator = new testedClass())1263 ->and($reflectionMethodController = new mock\controller())1264 ->and($reflectionMethodController->__construct = function () {1265 })1266 ->and($reflectionMethodController->getName = '__construct')1267 ->and($reflectionMethodController->isConstructor = true)1268 ->and($reflectionMethodController->getParameters = [])1269 ->and($reflectionMethodController->isFinal = false)1270 ->and($reflectionMethodController->isStatic = false)1271 ->and($reflectionMethodController->returnsReference = false)1272 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))1273 ->and($reflectionClassController = new mock\controller())1274 ->and($reflectionClassController->__construct = function () {1275 })1276 ->and($reflectionClassController->getName = function () use (& $realClass) {1277 return $realClass;1278 })1279 ->and($reflectionClassController->isFinal = false)1280 ->and($reflectionClassController->isInterface = true)1281 ->and($reflectionClassController->getMethods = [$reflectionMethod])1282 ->and($reflectionClassController->isInstantiable = false)1283 ->and($reflectionClassController->implementsInterface = false)1284 ->and($reflectionClass = new \mock\reflectionClass(null))1285 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {1286 return $reflectionClass;1287 }))1288 ->and($adapter = new atoum\test\adapter())1289 ->and($adapter->class_exists = function ($class) use (& $realClass) {1290 return ($class == '\\' . $realClass);1291 })1292 ->and($generator->setAdapter($adapter))1293 ->then1294 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(1295 'namespace mock {' . PHP_EOL .1296 'final class ' . $realClass . ' implements \\' . $realClass . ', \mageekguy\atoum\mock\aggregator' . PHP_EOL .1297 '{' . PHP_EOL .1298 $this->getMockControllerMethods() .1299 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1300 "\t" . '{' . PHP_EOL .1301 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .1302 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1303 "\t\t" . '{' . PHP_EOL .1304 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1305 "\t\t" . '}' . PHP_EOL .1306 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1307 "\t\t" . '{' . PHP_EOL .1308 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1309 "\t\t" . '}' . PHP_EOL .1310 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .1311 "\t\t" . '{' . PHP_EOL .1312 "\t\t\t" . '$this->getMockController()->__construct = function() {' . PHP_EOL .1313 "\t\t\t" . '};' . PHP_EOL .1314 "\t\t" . '}' . PHP_EOL .1315 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .1316 "\t" . '}' . PHP_EOL .1317 "\t" . 'public function __call($methodName, $arguments)' . PHP_EOL .1318 "\t" . '{' . PHP_EOL .1319 "\t\t" . 'if (isset($this->getMockController()->{$methodName}) === true)' . PHP_EOL .1320 "\t\t" . '{' . PHP_EOL .1321 "\t\t\t" . '$return = $this->getMockController()->invoke($methodName, $arguments);' . PHP_EOL .1322 "\t\t\t" . 'return $return;' . PHP_EOL .1323 "\t\t" . '}' . PHP_EOL .1324 "\t\t" . 'else' . PHP_EOL .1325 "\t\t" . '{' . PHP_EOL .1326 "\t\t\t" . '$this->getMockController()->addCall($methodName, $arguments);' . PHP_EOL .1327 "\t\t" . '}' . PHP_EOL .1328 "\t" . '}' . PHP_EOL .1329 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1330 "\t" . '{' . PHP_EOL .1331 "\t\t" . 'return ' . var_export(['__construct', '__call'], true) . ';' . PHP_EOL .1332 "\t" . '}' . PHP_EOL .1333 '}' . PHP_EOL .1334 '}'1335 )1336 ->if($reflectionClassController->implementsInterface = function ($interface) {1337 return ($interface == 'traversable' ? true : false);1338 })1339 ->and($generator->setReflectionClassFactory(function ($class) use ($reflectionClass) {1340 return ($class == 'iteratorAggregate' ? new \reflectionClass('iteratorAggregate') : $reflectionClass);1341 }))1342 ->then1343 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(1344 'namespace mock {' . PHP_EOL .1345 'final class ' . $realClass . ' implements \\iteratorAggregate, \\' . $realClass . ', \mageekguy\atoum\mock\aggregator' . PHP_EOL .1346 '{' . PHP_EOL .1347 $this->getMockControllerMethods() .1348 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1349 "\t" . '{' . PHP_EOL .1350 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .1351 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1352 "\t\t" . '{' . PHP_EOL .1353 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1354 "\t\t" . '}' . PHP_EOL .1355 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1356 "\t\t" . '{' . PHP_EOL .1357 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1358 "\t\t" . '}' . PHP_EOL .1359 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .1360 "\t\t" . '{' . PHP_EOL .1361 "\t\t\t" . '$this->getMockController()->__construct = function() {' . PHP_EOL .1362 "\t\t\t" . '};' . PHP_EOL .1363 "\t\t" . '}' . PHP_EOL .1364 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .1365 "\t" . '}' . PHP_EOL .1366 "\t" . 'public function getIterator()' . PHP_EOL .1367 "\t" . '{' . PHP_EOL .1368 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .1369 "\t\t" . 'if (isset($this->getMockController()->getIterator) === false)' . PHP_EOL .1370 "\t\t" . '{' . PHP_EOL .1371 "\t\t\t" . '$this->getMockController()->getIterator = function() {' . PHP_EOL .1372 "\t\t\t" . '};' . PHP_EOL .1373 "\t\t" . '}' . PHP_EOL .1374 "\t\t" . '$return = $this->getMockController()->invoke(\'getIterator\', $arguments);' . PHP_EOL .1375 "\t\t" . 'return $return;' . PHP_EOL .1376 "\t" . '}' . PHP_EOL .1377 "\t" . 'public function __call($methodName, $arguments)' . PHP_EOL .1378 "\t" . '{' . PHP_EOL .1379 "\t\t" . 'if (isset($this->getMockController()->{$methodName}) === true)' . PHP_EOL .1380 "\t\t" . '{' . PHP_EOL .1381 "\t\t\t" . '$return = $this->getMockController()->invoke($methodName, $arguments);' . PHP_EOL .1382 "\t\t\t" . 'return $return;' . PHP_EOL .1383 "\t\t" . '}' . PHP_EOL .1384 "\t\t" . 'else' . PHP_EOL .1385 "\t\t" . '{' . PHP_EOL .1386 "\t\t\t" . '$this->getMockController()->addCall($methodName, $arguments);' . PHP_EOL .1387 "\t\t" . '}' . PHP_EOL .1388 "\t" . '}' . PHP_EOL .1389 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1390 "\t" . '{' . PHP_EOL .1391 "\t\t" . 'return ' . var_export(['__construct', 'getiterator', '__call'], true) . ';' . PHP_EOL .1392 "\t" . '}' . PHP_EOL .1393 '}' . PHP_EOL .1394 '}'1395 )1396 ->if($generator = new testedClass())1397 ->and($reflectionMethodController = new mock\controller())1398 ->and($reflectionMethodController->__construct = function () {1399 })1400 ->and($reflectionMethodController->getName = '__construct')1401 ->and($reflectionMethodController->isConstructor = true)1402 ->and($reflectionMethodController->getParameters = [])1403 ->and($reflectionMethodController->isFinal = false)1404 ->and($reflectionMethodController->isStatic = false)1405 ->and($reflectionMethodController->returnsReference = false)1406 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))1407 ->and($reflectionClassController = new mock\controller())1408 ->and($reflectionClassController->__construct = function () {1409 })1410 ->and($reflectionClassController->getName = function () use (& $realClass) {1411 return $realClass;1412 })1413 ->and($reflectionClassController->isFinal = false)1414 ->and($reflectionClassController->isInterface = true)1415 ->and($reflectionClassController->getMethods = [$reflectionMethod])1416 ->and($reflectionClassController->isInstantiable = false)1417 ->and($reflectionClassController->implementsInterface = false)1418 ->and($reflectionClass = new \mock\reflectionClass(null))1419 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {1420 return $reflectionClass;1421 }))1422 ->and($adapter = new atoum\test\adapter())1423 ->and($adapter->class_exists = function ($class) use (& $realClass) {1424 return ($class == '\\' . $realClass);1425 })1426 ->and($generator->setAdapter($adapter))1427 ->and($generator->disallowUndefinedMethodUsage())1428 ->then1429 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(1430 'namespace mock {' . PHP_EOL .1431 'final class ' . $realClass . ' implements \\' . $realClass . ', \mageekguy\atoum\mock\aggregator' . PHP_EOL .1432 '{' . PHP_EOL .1433 $this->getMockControllerMethods() .1434 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1435 "\t" . '{' . PHP_EOL .1436 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .1437 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1438 "\t\t" . '{' . PHP_EOL .1439 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1440 "\t\t" . '}' . PHP_EOL .1441 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1442 "\t\t" . '{' . PHP_EOL .1443 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1444 "\t\t" . '}' . PHP_EOL .1445 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .1446 "\t\t" . '{' . PHP_EOL .1447 "\t\t\t" . '$this->getMockController()->__construct = function() {' . PHP_EOL .1448 "\t\t\t" . '};' . PHP_EOL .1449 "\t\t" . '}' . PHP_EOL .1450 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .1451 "\t" . '}' . PHP_EOL .1452 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1453 "\t" . '{' . PHP_EOL .1454 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .1455 "\t" . '}' . PHP_EOL .1456 '}' . PHP_EOL .1457 '}'1458 )1459 ;1460 }1461 /** @php >= 7.0 */1462 public function testGetMockedClassCodeForInterfacePhp7()1463 {1464 $this1465 ->if($generator = new testedClass())1466 ->and($reflectionMethodController = new mock\controller())1467 ->and($reflectionMethodController->__construct = function () {1468 })1469 ->and($reflectionMethodController->getName = '__construct')1470 ->and($reflectionMethodController->isConstructor = true)1471 ->and($reflectionMethodController->getParameters = [])1472 ->and($reflectionMethodController->isFinal = false)1473 ->and($reflectionMethodController->isStatic = false)1474 ->and($reflectionMethodController->returnsReference = false)1475 ->and($reflectionMethodController->hasReturnType = false)1476 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))1477 ->and($reflectionClassController = new mock\controller())1478 ->and($reflectionClassController->__construct = function () {1479 })1480 ->and($reflectionClassController->getName = function () use (& $realClass) {1481 return $realClass;1482 })1483 ->and($reflectionClassController->isFinal = false)1484 ->and($reflectionClassController->isInterface = true)1485 ->and($reflectionClassController->getMethods = [$reflectionMethod])1486 ->and($reflectionClassController->isInstantiable = false)1487 ->and($reflectionClassController->implementsInterface = false)1488 ->and($reflectionClass = new \mock\reflectionClass(null))1489 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {1490 return $reflectionClass;1491 }))1492 ->and($adapter = new atoum\test\adapter())1493 ->and($adapter->class_exists = function ($class) use (& $realClass) {1494 return ($class == '\\' . $realClass);1495 })1496 ->and($generator->setAdapter($adapter))1497 ->then1498 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(1499 'namespace mock {' . PHP_EOL .1500 'final class ' . $realClass . ' implements \\' . $realClass . ', \mageekguy\atoum\mock\aggregator' . PHP_EOL .1501 '{' . PHP_EOL .1502 $this->getMockControllerMethods() .1503 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1504 "\t" . '{' . PHP_EOL .1505 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .1506 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1507 "\t\t" . '{' . PHP_EOL .1508 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1509 "\t\t" . '}' . PHP_EOL .1510 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1511 "\t\t" . '{' . PHP_EOL .1512 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1513 "\t\t" . '}' . PHP_EOL .1514 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .1515 "\t\t" . '{' . PHP_EOL .1516 "\t\t\t" . '$this->getMockController()->__construct = function() {' . PHP_EOL .1517 "\t\t\t" . '};' . PHP_EOL .1518 "\t\t" . '}' . PHP_EOL .1519 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .1520 "\t" . '}' . PHP_EOL .1521 "\t" . 'public function __call($methodName, $arguments)' . PHP_EOL .1522 "\t" . '{' . PHP_EOL .1523 "\t\t" . 'if (isset($this->getMockController()->{$methodName}) === true)' . PHP_EOL .1524 "\t\t" . '{' . PHP_EOL .1525 "\t\t\t" . '$return = $this->getMockController()->invoke($methodName, $arguments);' . PHP_EOL .1526 "\t\t\t" . 'return $return;' . PHP_EOL .1527 "\t\t" . '}' . PHP_EOL .1528 "\t\t" . 'else' . PHP_EOL .1529 "\t\t" . '{' . PHP_EOL .1530 "\t\t\t" . '$this->getMockController()->addCall($methodName, $arguments);' . PHP_EOL .1531 "\t\t" . '}' . PHP_EOL .1532 "\t" . '}' . PHP_EOL .1533 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1534 "\t" . '{' . PHP_EOL .1535 "\t\t" . 'return ' . var_export(['__construct', '__call'], true) . ';' . PHP_EOL .1536 "\t" . '}' . PHP_EOL .1537 '}' . PHP_EOL .1538 '}'1539 )1540 ->if($reflectionClassController->implementsInterface = function ($interface) {1541 return ($interface == 'traversable' ? true : false);1542 })1543 ->and($generator->setReflectionClassFactory(function ($class) use ($reflectionClass) {1544 return ($class == 'iteratorAggregate' ? new \reflectionClass('iteratorAggregate') : $reflectionClass);1545 }))1546 ->then1547 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(1548 'namespace mock {' . PHP_EOL .1549 'final class ' . $realClass . ' implements \\iteratorAggregate, \\' . $realClass . ', \mageekguy\atoum\mock\aggregator' . PHP_EOL .1550 '{' . PHP_EOL .1551 $this->getMockControllerMethods() .1552 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1553 "\t" . '{' . PHP_EOL .1554 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .1555 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1556 "\t\t" . '{' . PHP_EOL .1557 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1558 "\t\t" . '}' . PHP_EOL .1559 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1560 "\t\t" . '{' . PHP_EOL .1561 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1562 "\t\t" . '}' . PHP_EOL .1563 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .1564 "\t\t" . '{' . PHP_EOL .1565 "\t\t\t" . '$this->getMockController()->__construct = function() {' . PHP_EOL .1566 "\t\t\t" . '};' . PHP_EOL .1567 "\t\t" . '}' . PHP_EOL .1568 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .1569 "\t" . '}' . PHP_EOL .1570 "\t" . 'public function getIterator()' . PHP_EOL .1571 "\t" . '{' . PHP_EOL .1572 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .1573 "\t\t" . 'if (isset($this->getMockController()->getIterator) === false)' . PHP_EOL .1574 "\t\t" . '{' . PHP_EOL .1575 "\t\t\t" . '$this->getMockController()->getIterator = function() {' . PHP_EOL .1576 "\t\t\t" . '};' . PHP_EOL .1577 "\t\t" . '}' . PHP_EOL .1578 "\t\t" . '$return = $this->getMockController()->invoke(\'getIterator\', $arguments);' . PHP_EOL .1579 "\t\t" . 'return $return;' . PHP_EOL .1580 "\t" . '}' . PHP_EOL .1581 "\t" . 'public function __call($methodName, $arguments)' . PHP_EOL .1582 "\t" . '{' . PHP_EOL .1583 "\t\t" . 'if (isset($this->getMockController()->{$methodName}) === true)' . PHP_EOL .1584 "\t\t" . '{' . PHP_EOL .1585 "\t\t\t" . '$return = $this->getMockController()->invoke($methodName, $arguments);' . PHP_EOL .1586 "\t\t\t" . 'return $return;' . PHP_EOL .1587 "\t\t" . '}' . PHP_EOL .1588 "\t\t" . 'else' . PHP_EOL .1589 "\t\t" . '{' . PHP_EOL .1590 "\t\t\t" . '$this->getMockController()->addCall($methodName, $arguments);' . PHP_EOL .1591 "\t\t" . '}' . PHP_EOL .1592 "\t" . '}' . PHP_EOL .1593 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1594 "\t" . '{' . PHP_EOL .1595 "\t\t" . 'return ' . var_export(['__construct', 'getiterator', '__call'], true) . ';' . PHP_EOL .1596 "\t" . '}' . PHP_EOL .1597 '}' . PHP_EOL .1598 '}'1599 )1600 ->if($generator = new testedClass())1601 ->and($reflectionMethodController = new mock\controller())1602 ->and($reflectionMethodController->__construct = function () {1603 })1604 ->and($reflectionMethodController->getName = '__construct')1605 ->and($reflectionMethodController->isConstructor = true)1606 ->and($reflectionMethodController->getParameters = [])1607 ->and($reflectionMethodController->isFinal = false)1608 ->and($reflectionMethodController->isStatic = false)1609 ->and($reflectionMethodController->returnsReference = false)1610 ->and($reflectionMethodController->hasReturnType = false)1611 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))1612 ->and($reflectionClassController = new mock\controller())1613 ->and($reflectionClassController->__construct = function () {1614 })1615 ->and($reflectionClassController->getName = function () use (& $realClass) {1616 return $realClass;1617 })1618 ->and($reflectionClassController->isFinal = false)1619 ->and($reflectionClassController->isInterface = true)1620 ->and($reflectionClassController->getMethods = [$reflectionMethod])1621 ->and($reflectionClassController->isInstantiable = false)1622 ->and($reflectionClassController->implementsInterface = false)1623 ->and($reflectionClass = new \mock\reflectionClass(null))1624 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {1625 return $reflectionClass;1626 }))1627 ->and($adapter = new atoum\test\adapter())1628 ->and($adapter->class_exists = function ($class) use (& $realClass) {1629 return ($class == '\\' . $realClass);1630 })1631 ->and($generator->setAdapter($adapter))1632 ->and($generator->disallowUndefinedMethodUsage())1633 ->then1634 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(1635 'namespace mock {' . PHP_EOL .1636 'final class ' . $realClass . ' implements \\' . $realClass . ', \mageekguy\atoum\mock\aggregator' . PHP_EOL .1637 '{' . PHP_EOL .1638 $this->getMockControllerMethods() .1639 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1640 "\t" . '{' . PHP_EOL .1641 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .1642 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1643 "\t\t" . '{' . PHP_EOL .1644 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1645 "\t\t" . '}' . PHP_EOL .1646 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1647 "\t\t" . '{' . PHP_EOL .1648 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1649 "\t\t" . '}' . PHP_EOL .1650 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .1651 "\t\t" . '{' . PHP_EOL .1652 "\t\t\t" . '$this->getMockController()->__construct = function() {' . PHP_EOL .1653 "\t\t\t" . '};' . PHP_EOL .1654 "\t\t" . '}' . PHP_EOL .1655 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .1656 "\t" . '}' . PHP_EOL .1657 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1658 "\t" . '{' . PHP_EOL .1659 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .1660 "\t" . '}' . PHP_EOL .1661 '}' . PHP_EOL .1662 '}'1663 )1664 ;1665 }1666 /**1667 * @php >= 7.01668 */1669 public function testGetMockedClassCodeForInterfaceWithConstructorArguments()1670 {1671 $this1672 ->if($generator = new testedClass())1673 ->and($reflectionParameterController = new mock\controller())1674 ->and($reflectionParameterController->__construct = function () {1675 })1676 ->and($reflectionParameterController->isArray = true)1677 ->and($reflectionParameterController->getName = 'param')1678 ->and($reflectionParameterController->isPassedByReference = false)1679 ->and($reflectionParameterController->isDefaultValueAvailable = false)1680 ->and($reflectionParameterController->isOptional = false)1681 ->and($reflectionParameterController->isVariadic = false)1682 ->and($reflectionParameterController->allowsNull = false)1683 ->and($reflectionParameter = new \mock\reflectionParameter(null, null))1684 ->and($reflectionMethodController = new mock\controller())1685 ->and($reflectionMethodController->__construct = function () {1686 })1687 ->and($reflectionMethodController->getName = '__construct')1688 ->and($reflectionMethodController->isConstructor = true)1689 ->and($reflectionMethodController->getParameters = [$reflectionParameter])1690 ->and($reflectionMethodController->isFinal = false)1691 ->and($reflectionMethodController->isStatic = false)1692 ->and($reflectionMethodController->returnsReference = false)1693 ->and($reflectionMethodController->hasReturnType = false)1694 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))1695 ->and($reflectionClassController = new mock\controller())1696 ->and($reflectionClassController->__construct = function () {1697 })1698 ->and($reflectionClassController->getName = function () use (& $realClass) {1699 return $realClass;1700 })1701 ->and($reflectionClassController->isFinal = false)1702 ->and($reflectionClassController->isInterface = true)1703 ->and($reflectionClassController->getMethods = [$reflectionMethod])1704 ->and($reflectionClassController->isInstantiable = false)1705 ->and($reflectionClassController->implementsInterface = false)1706 ->and($reflectionClass = new \mock\reflectionClass(null))1707 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {1708 return $reflectionClass;1709 }))1710 ->and($adapter = new atoum\test\adapter())1711 ->and($adapter->class_exists = function ($class) use (& $realClass) {1712 return ($class == '\\' . $realClass);1713 })1714 ->and($generator->setAdapter($adapter))1715 ->then1716 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(1717 'namespace mock {' . PHP_EOL .1718 'final class ' . $realClass . ' implements \\' . $realClass . ', \mageekguy\atoum\mock\aggregator' . PHP_EOL .1719 '{' . PHP_EOL .1720 $this->getMockControllerMethods() .1721 "\t" . 'public function __construct(array $param, \mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1722 "\t" . '{' . PHP_EOL .1723 "\t\t" . '$arguments = array_merge(array($param), array_slice(func_get_args(), 1, -1));' . PHP_EOL .1724 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1725 "\t\t" . '{' . PHP_EOL .1726 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1727 "\t\t" . '}' . PHP_EOL .1728 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1729 "\t\t" . '{' . PHP_EOL .1730 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1731 "\t\t" . '}' . PHP_EOL .1732 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .1733 "\t\t" . '{' . PHP_EOL .1734 "\t\t\t" . '$this->getMockController()->__construct = function() {' . PHP_EOL .1735 "\t\t\t" . '};' . PHP_EOL .1736 "\t\t" . '}' . PHP_EOL .1737 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .1738 "\t" . '}' . PHP_EOL .1739 "\t" . 'public function __call($methodName, $arguments)' . PHP_EOL .1740 "\t" . '{' . PHP_EOL .1741 "\t\t" . 'if (isset($this->getMockController()->{$methodName}) === true)' . PHP_EOL .1742 "\t\t" . '{' . PHP_EOL .1743 "\t\t\t" . '$return = $this->getMockController()->invoke($methodName, $arguments);' . PHP_EOL .1744 "\t\t\t" . 'return $return;' . PHP_EOL .1745 "\t\t" . '}' . PHP_EOL .1746 "\t\t" . 'else' . PHP_EOL .1747 "\t\t" . '{' . PHP_EOL .1748 "\t\t\t" . '$this->getMockController()->addCall($methodName, $arguments);' . PHP_EOL .1749 "\t\t" . '}' . PHP_EOL .1750 "\t" . '}' . PHP_EOL .1751 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1752 "\t" . '{' . PHP_EOL .1753 "\t\t" . 'return ' . var_export(['__construct', '__call'], true) . ';' . PHP_EOL .1754 "\t" . '}' . PHP_EOL .1755 '}' . PHP_EOL .1756 '}'1757 )1758 ;1759 }1760 /**1761 * @php < 7.01762 */1763 public function testGetMockedClassCodeForInterfaceWithConstructorArgumentsPhp56()1764 {1765 $this1766 ->if($generator = new testedClass())1767 ->and($reflectionParameterController = new mock\controller())1768 ->and($reflectionParameterController->__construct = function () {1769 })1770 ->and($reflectionParameterController->isArray = true)1771 ->and($reflectionParameterController->getName = 'param')1772 ->and($reflectionParameterController->isPassedByReference = false)1773 ->and($reflectionParameterController->isDefaultValueAvailable = false)1774 ->and($reflectionParameterController->isOptional = false)1775 ->and($reflectionParameterController->isVariadic = false)1776 ->and($reflectionParameterController->allowsNull = false)1777 ->and($reflectionParameter = new \mock\reflectionParameter(null, null))1778 ->and($reflectionMethodController = new mock\controller())1779 ->and($reflectionMethodController->__construct = function () {1780 })1781 ->and($reflectionMethodController->getName = '__construct')1782 ->and($reflectionMethodController->isConstructor = true)1783 ->and($reflectionMethodController->getParameters = [$reflectionParameter])1784 ->and($reflectionMethodController->isFinal = false)1785 ->and($reflectionMethodController->isStatic = false)1786 ->and($reflectionMethodController->returnsReference = false)1787 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))1788 ->and($reflectionClassController = new mock\controller())1789 ->and($reflectionClassController->__construct = function () {1790 })1791 ->and($reflectionClassController->getName = function () use (& $realClass) {1792 return $realClass;1793 })1794 ->and($reflectionClassController->isFinal = false)1795 ->and($reflectionClassController->isInterface = true)1796 ->and($reflectionClassController->getMethods = [$reflectionMethod])1797 ->and($reflectionClassController->isInstantiable = false)1798 ->and($reflectionClassController->implementsInterface = false)1799 ->and($reflectionClass = new \mock\reflectionClass(null))1800 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {1801 return $reflectionClass;1802 }))1803 ->and($adapter = new atoum\test\adapter())1804 ->and($adapter->class_exists = function ($class) use (& $realClass) {1805 return ($class == '\\' . $realClass);1806 })1807 ->and($generator->setAdapter($adapter))1808 ->then1809 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(1810 'namespace mock {' . PHP_EOL .1811 'final class ' . $realClass . ' implements \\' . $realClass . ', \mageekguy\atoum\mock\aggregator' . PHP_EOL .1812 '{' . PHP_EOL .1813 $this->getMockControllerMethods() .1814 "\t" . 'public function __construct(array $param, \mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1815 "\t" . '{' . PHP_EOL .1816 "\t\t" . '$arguments = array_merge(array($param), array_slice(func_get_args(), 1, -1));' . PHP_EOL .1817 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1818 "\t\t" . '{' . PHP_EOL .1819 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1820 "\t\t" . '}' . PHP_EOL .1821 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1822 "\t\t" . '{' . PHP_EOL .1823 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1824 "\t\t" . '}' . PHP_EOL .1825 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .1826 "\t\t" . '{' . PHP_EOL .1827 "\t\t\t" . '$this->getMockController()->__construct = function() {' . PHP_EOL .1828 "\t\t\t" . '};' . PHP_EOL .1829 "\t\t" . '}' . PHP_EOL .1830 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .1831 "\t" . '}' . PHP_EOL .1832 "\t" . 'public function __call($methodName, $arguments)' . PHP_EOL .1833 "\t" . '{' . PHP_EOL .1834 "\t\t" . 'if (isset($this->getMockController()->{$methodName}) === true)' . PHP_EOL .1835 "\t\t" . '{' . PHP_EOL .1836 "\t\t\t" . '$return = $this->getMockController()->invoke($methodName, $arguments);' . PHP_EOL .1837 "\t\t\t" . 'return $return;' . PHP_EOL .1838 "\t\t" . '}' . PHP_EOL .1839 "\t\t" . 'else' . PHP_EOL .1840 "\t\t" . '{' . PHP_EOL .1841 "\t\t\t" . '$this->getMockController()->addCall($methodName, $arguments);' . PHP_EOL .1842 "\t\t" . '}' . PHP_EOL .1843 "\t" . '}' . PHP_EOL .1844 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1845 "\t" . '{' . PHP_EOL .1846 "\t\t" . 'return ' . var_export(['__construct', '__call'], true) . ';' . PHP_EOL .1847 "\t" . '}' . PHP_EOL .1848 '}' . PHP_EOL .1849 '}'1850 )1851 ;1852 }1853 /** @php < 7.0 */1854 public function testGetMockedClassCodeForInterfaceWithStaticMethod()1855 {1856 $this1857 ->if($generator = new testedClass())1858 ->and($reflectionMethodController = new mock\controller())1859 ->and($reflectionMethodController->__construct = function () {1860 })1861 ->and($reflectionMethodController->getName = $methodName = uniqid())1862 ->and($reflectionMethodController->isConstructor = false)1863 ->and($reflectionMethodController->getParameters = [])1864 ->and($reflectionMethodController->isFinal = false)1865 ->and($reflectionMethodController->isStatic = true)1866 ->and($reflectionMethodController->returnsReference = false)1867 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))1868 ->and($reflectionClassController = new mock\controller())1869 ->and($reflectionClassController->__construct = function () {1870 })1871 ->and($reflectionClassController->getName = function () use (& $realClass) {1872 return $realClass;1873 })1874 ->and($reflectionClassController->isFinal = false)1875 ->and($reflectionClassController->isInterface = true)1876 ->and($reflectionClassController->getMethods = [$reflectionMethod])1877 ->and($reflectionClassController->isInstantiable = false)1878 ->and($reflectionClassController->implementsInterface = false)1879 ->and($reflectionClass = new \mock\reflectionClass(null))1880 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {1881 return $reflectionClass;1882 }))1883 ->and($adapter = new atoum\test\adapter())1884 ->and($adapter->class_exists = function ($class) use (& $realClass) {1885 return ($class == '\\' . $realClass);1886 })1887 ->and($generator->setAdapter($adapter))1888 ->then1889 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(1890 'namespace mock {' . PHP_EOL .1891 'final class ' . $realClass . ' implements \\' . $realClass . ', \mageekguy\atoum\mock\aggregator' . PHP_EOL .1892 '{' . PHP_EOL .1893 $this->getMockControllerMethods() .1894 "\t" . 'public static function ' . $methodName . '()' . PHP_EOL .1895 "\t" . '{' . PHP_EOL .1896 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .1897 "\t\t" . 'return call_user_func_array(array(\'parent\', \'' . $methodName . '\'), $arguments);' . PHP_EOL .1898 "\t" . '}' . PHP_EOL .1899 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1900 "\t" . '{' . PHP_EOL .1901 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1902 "\t\t" . '{' . PHP_EOL .1903 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1904 "\t\t" . '}' . PHP_EOL .1905 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1906 "\t\t" . '{' . PHP_EOL .1907 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1908 "\t\t" . '}' . PHP_EOL .1909 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .1910 "\t\t" . '{' . PHP_EOL .1911 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .1912 "\t\t" . '}' . PHP_EOL .1913 "\t" . '}' . PHP_EOL .1914 "\t" . 'public function __call($methodName, $arguments)' . PHP_EOL .1915 "\t" . '{' . PHP_EOL .1916 "\t\t" . 'if (isset($this->getMockController()->{$methodName}) === true)' . PHP_EOL .1917 "\t\t" . '{' . PHP_EOL .1918 "\t\t\t" . '$return = $this->getMockController()->invoke($methodName, $arguments);' . PHP_EOL .1919 "\t\t\t" . 'return $return;' . PHP_EOL .1920 "\t\t" . '}' . PHP_EOL .1921 "\t\t" . 'else' . PHP_EOL .1922 "\t\t" . '{' . PHP_EOL .1923 "\t\t\t" . '$this->getMockController()->addCall($methodName, $arguments);' . PHP_EOL .1924 "\t\t" . '}' . PHP_EOL .1925 "\t" . '}' . PHP_EOL .1926 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1927 "\t" . '{' . PHP_EOL .1928 "\t\t" . 'return ' . var_export([$methodName, '__construct', '__call'], true) . ';' . PHP_EOL .1929 "\t" . '}' . PHP_EOL .1930 '}' . PHP_EOL .1931 '}'1932 )1933 ->if($reflectionClassController->implementsInterface = function ($interface) {1934 return ($interface == 'traversable' ? true : false);1935 })1936 ->and($generator->setReflectionClassFactory(function ($class) use ($reflectionClass) {1937 return ($class == 'iteratorAggregate' ? new \reflectionClass('iteratorAggregate') : $reflectionClass);1938 }))1939 ->then1940 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(1941 'namespace mock {' . PHP_EOL .1942 'final class ' . $realClass . ' implements \\iteratorAggregate, \\' . $realClass . ', \mageekguy\atoum\mock\aggregator' . PHP_EOL .1943 '{' . PHP_EOL .1944 $this->getMockControllerMethods() .1945 "\t" . 'public static function ' . $methodName . '()' . PHP_EOL .1946 "\t" . '{' . PHP_EOL .1947 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .1948 "\t\t" . 'return call_user_func_array(array(\'parent\', \'' . $methodName . '\'), $arguments);' . PHP_EOL .1949 "\t" . '}' . PHP_EOL .1950 "\t" . 'public function getIterator()' . PHP_EOL .1951 "\t" . '{' . PHP_EOL .1952 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .1953 "\t\t" . 'if (isset($this->getMockController()->getIterator) === false)' . PHP_EOL .1954 "\t\t" . '{' . PHP_EOL .1955 "\t\t\t" . '$this->getMockController()->getIterator = function() {' . PHP_EOL .1956 "\t\t\t" . '};' . PHP_EOL .1957 "\t\t" . '}' . PHP_EOL .1958 "\t\t" . '$return = $this->getMockController()->invoke(\'getIterator\', $arguments);' . PHP_EOL .1959 "\t\t" . 'return $return;' . PHP_EOL .1960 "\t" . '}' . PHP_EOL .1961 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .1962 "\t" . '{' . PHP_EOL .1963 "\t\t" . 'if ($mockController === null)' . PHP_EOL .1964 "\t\t" . '{' . PHP_EOL .1965 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .1966 "\t\t" . '}' . PHP_EOL .1967 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .1968 "\t\t" . '{' . PHP_EOL .1969 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .1970 "\t\t" . '}' . PHP_EOL .1971 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .1972 "\t\t" . '{' . PHP_EOL .1973 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .1974 "\t\t" . '}' . PHP_EOL .1975 "\t" . '}' . PHP_EOL .1976 "\t" . 'public function __call($methodName, $arguments)' . PHP_EOL .1977 "\t" . '{' . PHP_EOL .1978 "\t\t" . 'if (isset($this->getMockController()->{$methodName}) === true)' . PHP_EOL .1979 "\t\t" . '{' . PHP_EOL .1980 "\t\t\t" . '$return = $this->getMockController()->invoke($methodName, $arguments);' . PHP_EOL .1981 "\t\t\t" . 'return $return;' . PHP_EOL .1982 "\t\t" . '}' . PHP_EOL .1983 "\t\t" . 'else' . PHP_EOL .1984 "\t\t" . '{' . PHP_EOL .1985 "\t\t\t" . '$this->getMockController()->addCall($methodName, $arguments);' . PHP_EOL .1986 "\t\t" . '}' . PHP_EOL .1987 "\t" . '}' . PHP_EOL .1988 "\t" . 'public static function getMockedMethods()' . PHP_EOL .1989 "\t" . '{' . PHP_EOL .1990 "\t\t" . 'return ' . var_export([$methodName, 'getiterator', '__construct', '__call'], true) . ';' . PHP_EOL .1991 "\t" . '}' . PHP_EOL .1992 '}' . PHP_EOL .1993 '}'1994 )1995 ;1996 }1997 /** @php >= 7.0 */1998 public function testGetMockedClassCodeForInterfaceWithTypeHint()1999 {2000 $this2001 ->if($generator = new testedClass())2002 ->and($reflectionParameterController = new mock\controller())2003 ->and($reflectionParameterController->__construct = function () {2004 })2005 ->and($reflectionParameterController->isArray = false)2006 ->and($reflectionParameterController->isCallable = false)2007 ->and($reflectionParameterController->getName = 'typeHint')2008 ->and($reflectionParameterController->isPassedByReference = false)2009 ->and($reflectionParameterController->isDefaultValueAvailable = false)2010 ->and($reflectionParameterController->isOptional = false)2011 ->and($reflectionParameterController->isVariadic = false)2012 ->and($reflectionParameterController->getClass = null)2013 ->and($reflectionParameterController->hasType = true)2014 ->and($reflectionParameterController->getType = 'string')2015 ->and($reflectionParameterController->allowsNull = false)2016 ->and($reflectionParameter = new \mock\reflectionParameter(null, null))2017 ->and($reflectionMethodController = new mock\controller())2018 ->and($reflectionMethodController->__construct = function () {2019 })2020 ->and($reflectionMethodController->getName = $methodName = uniqid())2021 ->and($reflectionMethodController->isConstructor = false)2022 ->and($reflectionMethodController->getParameters = [$reflectionParameter])2023 ->and($reflectionMethodController->isPublic = true)2024 ->and($reflectionMethodController->isProtected = false)2025 ->and($reflectionMethodController->isPrivate = false)2026 ->and($reflectionMethodController->isFinal = false)2027 ->and($reflectionMethodController->isStatic = false)2028 ->and($reflectionMethodController->isAbstract = false)2029 ->and($reflectionMethodController->returnsReference = false)2030 ->and($reflectionMethodController->hasReturnType = false)2031 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))2032 ->and($reflectionClassController = new mock\controller())2033 ->and($reflectionClassController->__construct = function () {2034 })2035 ->and($reflectionClassController->getName = function () use (& $realClass) {2036 return $realClass;2037 })2038 ->and($reflectionClassController->isFinal = false)2039 ->and($reflectionClassController->isInterface = false)2040 ->and($reflectionClassController->getMethods = [$reflectionMethod])2041 ->and($reflectionClassController->getConstructor = null)2042 ->and($reflectionClassController->isAbstract = false)2043 ->and($reflectionClass = new \mock\reflectionClass(null))2044 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {2045 return $reflectionClass;2046 }))2047 ->and($adapter = new atoum\test\adapter())2048 ->and($adapter->class_exists = function ($class) use (& $realClass) {2049 return ($class == '\\' . $realClass);2050 })2051 ->and($generator->setAdapter($adapter))2052 ->then2053 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(2054 'namespace mock {' . PHP_EOL .2055 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .2056 '{' . PHP_EOL .2057 $this->getMockControllerMethods() .2058 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .2059 "\t" . '{' . PHP_EOL .2060 "\t\t" . 'if ($mockController === null)' . PHP_EOL .2061 "\t\t" . '{' . PHP_EOL .2062 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .2063 "\t\t" . '}' . PHP_EOL .2064 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .2065 "\t\t" . '{' . PHP_EOL .2066 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .2067 "\t\t" . '}' . PHP_EOL .2068 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .2069 "\t\t" . '{' . PHP_EOL .2070 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .2071 "\t\t" . '}' . PHP_EOL .2072 "\t" . '}' . PHP_EOL .2073 "\t" . 'public function ' . $methodName . '(string $typeHint)' . PHP_EOL .2074 "\t" . '{' . PHP_EOL .2075 "\t\t" . '$arguments = array_merge(array($typeHint), array_slice(func_get_args(), 1));' . PHP_EOL .2076 "\t\t" . 'if (isset($this->getMockController()->' . $methodName . ') === true)' . PHP_EOL .2077 "\t\t" . '{' . PHP_EOL .2078 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $methodName . '\', $arguments);' . PHP_EOL .2079 "\t\t\t" . 'return $return;' . PHP_EOL .2080 "\t\t" . '}' . PHP_EOL .2081 "\t\t" . 'else' . PHP_EOL .2082 "\t\t" . '{' . PHP_EOL .2083 "\t\t\t" . '$this->getMockController()->addCall(\'' . $methodName . '\', $arguments);' . PHP_EOL .2084 "\t\t\t" . '$return = call_user_func_array(\'parent::' . $methodName . '\', $arguments);' . PHP_EOL .2085 "\t\t\t" . 'return $return;' . PHP_EOL .2086 "\t\t" . '}' . PHP_EOL .2087 "\t" . '}' . PHP_EOL .2088 "\t" . 'public static function getMockedMethods()' . PHP_EOL .2089 "\t" . '{' . PHP_EOL .2090 "\t\t" . 'return ' . var_export(['__construct', $methodName], true) . ';' . PHP_EOL .2091 "\t" . '}' . PHP_EOL .2092 '}' . PHP_EOL .2093 '}'2094 )2095 ;2096 }2097 /** @php >= 7.0 */2098 public function testGetMockedClassCodeForInterfaceWithReturnType()2099 {2100 $this2101 ->if($generator = new testedClass())2102 ->and($reflectionTypeController = new mock\controller())2103 ->and($reflectionTypeController->__construct = function () {2104 })2105 ->and($reflectionTypeController->isBuiltin = true)2106 ->and($reflectionTypeController->allowsNull = false)2107 ->and($reflectionTypeController->__toString = $returnType = 'string')2108 ->and($reflectionType = new \mock\reflectionType())2109 ->and($reflectionMethodController = new mock\controller())2110 ->and($reflectionMethodController->__construct = function () {2111 })2112 ->and($reflectionMethodController->getName = $methodName = uniqid())2113 ->and($reflectionMethodController->isConstructor = false)2114 ->and($reflectionMethodController->getParameters = [])2115 ->and($reflectionMethodController->isPublic = true)2116 ->and($reflectionMethodController->isProtected = false)2117 ->and($reflectionMethodController->isPrivate = false)2118 ->and($reflectionMethodController->isFinal = false)2119 ->and($reflectionMethodController->isStatic = false)2120 ->and($reflectionMethodController->isAbstract = false)2121 ->and($reflectionMethodController->returnsReference = false)2122 ->and($reflectionMethodController->hasReturnType = true)2123 ->and($reflectionMethodController->getReturnType = $reflectionType)2124 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))2125 ->and($reflectionClassController = new mock\controller())2126 ->and($reflectionClassController->__construct = function () {2127 })2128 ->and($reflectionClassController->getName = function () use (& $realClass) {2129 return $realClass;2130 })2131 ->and($reflectionClassController->isFinal = false)2132 ->and($reflectionClassController->isInterface = false)2133 ->and($reflectionClassController->getMethods = [$reflectionMethod])2134 ->and($reflectionClassController->getConstructor = null)2135 ->and($reflectionClassController->isAbstract = false)2136 ->and($reflectionClass = new \mock\reflectionClass(null))2137 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {2138 return $reflectionClass;2139 }))2140 ->and($adapter = new atoum\test\adapter())2141 ->and($adapter->class_exists = function ($class) use (& $realClass) {2142 return ($class == '\\' . $realClass);2143 })2144 ->and($generator->setAdapter($adapter))2145 ->then2146 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(2147 'namespace mock {' . PHP_EOL .2148 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .2149 '{' . PHP_EOL .2150 $this->getMockControllerMethods() .2151 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .2152 "\t" . '{' . PHP_EOL .2153 "\t\t" . 'if ($mockController === null)' . PHP_EOL .2154 "\t\t" . '{' . PHP_EOL .2155 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .2156 "\t\t" . '}' . PHP_EOL .2157 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .2158 "\t\t" . '{' . PHP_EOL .2159 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .2160 "\t\t" . '}' . PHP_EOL .2161 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .2162 "\t\t" . '{' . PHP_EOL .2163 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .2164 "\t\t" . '}' . PHP_EOL .2165 "\t" . '}' . PHP_EOL .2166 "\t" . 'public function ' . $methodName . '(): ' . $returnType . PHP_EOL .2167 "\t" . '{' . PHP_EOL .2168 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .2169 "\t\t" . 'if (isset($this->getMockController()->' . $methodName . ') === true)' . PHP_EOL .2170 "\t\t" . '{' . PHP_EOL .2171 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $methodName . '\', $arguments);' . PHP_EOL .2172 "\t\t\t" . 'return $return;' . PHP_EOL .2173 "\t\t" . '}' . PHP_EOL .2174 "\t\t" . 'else' . PHP_EOL .2175 "\t\t" . '{' . PHP_EOL .2176 "\t\t\t" . '$this->getMockController()->addCall(\'' . $methodName . '\', $arguments);' . PHP_EOL .2177 "\t\t\t" . '$return = call_user_func_array(\'parent::' . $methodName . '\', $arguments);' . PHP_EOL .2178 "\t\t\t" . 'return $return;' . PHP_EOL .2179 "\t\t" . '}' . PHP_EOL .2180 "\t" . '}' . PHP_EOL .2181 "\t" . 'public static function getMockedMethods()' . PHP_EOL .2182 "\t" . '{' . PHP_EOL .2183 "\t\t" . 'return ' . var_export(['__construct', $methodName], true) . ';' . PHP_EOL .2184 "\t" . '}' . PHP_EOL .2185 '}' . PHP_EOL .2186 '}'2187 )2188 ;2189 }2190 /** @php >= 7.0 */2191 public function testGetMockedClassCodeForInterfaceWithReturnTypeNotBuiltIn()2192 {2193 $this2194 ->if($generator = new testedClass())2195 ->and($reflectionTypeController = new mock\controller())2196 ->and($reflectionTypeController->__construct = function () {2197 })2198 ->and($reflectionTypeController->isBuiltin = false)2199 ->and($reflectionTypeController->allowsNull = false)2200 ->and($reflectionTypeController->__toString = $returnType = 'Mock\Foo')2201 ->and($reflectionType = new \mock\reflectionType())2202 ->and($reflectionMethodController = new mock\controller())2203 ->and($reflectionMethodController->__construct = function () {2204 })2205 ->and($reflectionMethodController->getName = $methodName = uniqid())2206 ->and($reflectionMethodController->isConstructor = false)2207 ->and($reflectionMethodController->getParameters = [])2208 ->and($reflectionMethodController->isPublic = true)2209 ->and($reflectionMethodController->isProtected = false)2210 ->and($reflectionMethodController->isPrivate = false)2211 ->and($reflectionMethodController->isFinal = false)2212 ->and($reflectionMethodController->isStatic = false)2213 ->and($reflectionMethodController->isAbstract = false)2214 ->and($reflectionMethodController->returnsReference = false)2215 ->and($reflectionMethodController->hasReturnType = true)2216 ->and($reflectionMethodController->getReturnType = $reflectionType)2217 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))2218 ->and($reflectionClassController = new mock\controller())2219 ->and($reflectionClassController->__construct = function () {2220 })2221 ->and($reflectionClassController->getName = function () use (& $realClass) {2222 return $realClass;2223 })2224 ->and($reflectionClassController->isFinal = false)2225 ->and($reflectionClassController->isInterface = false)2226 ->and($reflectionClassController->getMethods = [$reflectionMethod])2227 ->and($reflectionClassController->getConstructor = null)2228 ->and($reflectionClassController->isAbstract = false)2229 ->and($reflectionClass = new \mock\reflectionClass(null))2230 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {2231 return $reflectionClass;2232 }))2233 ->and($adapter = new atoum\test\adapter())2234 ->and($adapter->class_exists = function ($class) use (& $realClass) {2235 return ($class == '\\' . $realClass);2236 })2237 ->and($generator->setAdapter($adapter))2238 ->then2239 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(2240 'namespace mock {' . PHP_EOL .2241 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .2242 '{' . PHP_EOL .2243 $this->getMockControllerMethods() .2244 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .2245 "\t" . '{' . PHP_EOL .2246 "\t\t" . 'if ($mockController === null)' . PHP_EOL .2247 "\t\t" . '{' . PHP_EOL .2248 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .2249 "\t\t" . '}' . PHP_EOL .2250 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .2251 "\t\t" . '{' . PHP_EOL .2252 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .2253 "\t\t" . '}' . PHP_EOL .2254 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .2255 "\t\t" . '{' . PHP_EOL .2256 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .2257 "\t\t" . '}' . PHP_EOL .2258 "\t" . '}' . PHP_EOL .2259 "\t" . 'public function ' . $methodName . '(): \\' . $returnType . PHP_EOL .2260 "\t" . '{' . PHP_EOL .2261 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .2262 "\t\t" . 'if (isset($this->getMockController()->' . $methodName . ') === true)' . PHP_EOL .2263 "\t\t" . '{' . PHP_EOL .2264 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $methodName . '\', $arguments);' . PHP_EOL .2265 "\t\t\t" . 'return $return;' . PHP_EOL .2266 "\t\t" . '}' . PHP_EOL .2267 "\t\t" . 'else' . PHP_EOL .2268 "\t\t" . '{' . PHP_EOL .2269 "\t\t\t" . '$this->getMockController()->addCall(\'' . $methodName . '\', $arguments);' . PHP_EOL .2270 "\t\t\t" . '$return = call_user_func_array(\'parent::' . $methodName . '\', $arguments);' . PHP_EOL .2271 "\t\t\t" . 'return $return;' . PHP_EOL .2272 "\t\t" . '}' . PHP_EOL .2273 "\t" . '}' . PHP_EOL .2274 "\t" . 'public static function getMockedMethods()' . PHP_EOL .2275 "\t" . '{' . PHP_EOL .2276 "\t\t" . 'return ' . var_export(['__construct', $methodName], true) . ';' . PHP_EOL .2277 "\t" . '}' . PHP_EOL .2278 '}' . PHP_EOL .2279 '}'2280 )2281 ;2282 }2283 /** @php < 7.0 */2284 public function testGetMockedClassCodeForRealClassWithoutConstructor()2285 {2286 $this2287 ->if($generator = new testedClass())2288 ->and($reflectionMethodController = new mock\controller())2289 ->and($reflectionMethodController->__construct = function () {2290 })2291 ->and($reflectionMethodController->getName = $methodName = uniqid())2292 ->and($reflectionMethodController->isConstructor = false)2293 ->and($reflectionMethodController->getParameters = [])2294 ->and($reflectionMethodController->isPublic = true)2295 ->and($reflectionMethodController->isProtected = false)2296 ->and($reflectionMethodController->isPrivate = false)2297 ->and($reflectionMethodController->isFinal = false)2298 ->and($reflectionMethodController->isAbstract = false)2299 ->and($reflectionMethodController->isStatic = false)2300 ->and($reflectionMethodController->returnsReference = false)2301 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))2302 ->and($reflectionClassController = new mock\controller())2303 ->and($reflectionClassController->__construct = function () {2304 })2305 ->and($reflectionClassController->getName = function () use (& $realClass) {2306 return $realClass;2307 })2308 ->and($reflectionClassController->isFinal = false)2309 ->and($reflectionClassController->isInterface = false)2310 ->and($reflectionClassController->getMethods = [$reflectionMethod])2311 ->and($reflectionClassController->getConstructor = null)2312 ->and($reflectionClassController->isAbstract = false)2313 ->and($reflectionClass = new \mock\reflectionClass(null))2314 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {2315 return $reflectionClass;2316 }))2317 ->and($adapter = new atoum\test\adapter())2318 ->and($adapter->class_exists = function ($class) use (& $realClass) {2319 return ($class == '\\' . $realClass);2320 })2321 ->and($generator->setAdapter($adapter))2322 ->then2323 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(2324 'namespace mock {' . PHP_EOL .2325 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .2326 '{' . PHP_EOL .2327 $this->getMockControllerMethods() .2328 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .2329 "\t" . '{' . PHP_EOL .2330 "\t\t" . 'if ($mockController === null)' . PHP_EOL .2331 "\t\t" . '{' . PHP_EOL .2332 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .2333 "\t\t" . '}' . PHP_EOL .2334 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .2335 "\t\t" . '{' . PHP_EOL .2336 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .2337 "\t\t" . '}' . PHP_EOL .2338 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .2339 "\t\t" . '{' . PHP_EOL .2340 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .2341 "\t\t" . '}' . PHP_EOL .2342 "\t" . '}' . PHP_EOL .2343 "\t" . 'public function ' . $methodName . '()' . PHP_EOL .2344 "\t" . '{' . PHP_EOL .2345 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .2346 "\t\t" . 'if (isset($this->getMockController()->' . $methodName . ') === true)' . PHP_EOL .2347 "\t\t" . '{' . PHP_EOL .2348 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $methodName . '\', $arguments);' . PHP_EOL .2349 "\t\t\t" . 'return $return;' . PHP_EOL .2350 "\t\t" . '}' . PHP_EOL .2351 "\t\t" . 'else' . PHP_EOL .2352 "\t\t" . '{' . PHP_EOL .2353 "\t\t\t" . '$this->getMockController()->addCall(\'' . $methodName . '\', $arguments);' . PHP_EOL .2354 "\t\t\t" . '$return = call_user_func_array(\'parent::' . $methodName . '\', $arguments);' . PHP_EOL .2355 "\t\t\t" . 'return $return;' . PHP_EOL .2356 "\t\t" . '}' . PHP_EOL .2357 "\t" . '}' . PHP_EOL .2358 "\t" . 'public static function getMockedMethods()' . PHP_EOL .2359 "\t" . '{' . PHP_EOL .2360 "\t\t" . 'return ' . var_export(['__construct', $methodName], true) . ';' . PHP_EOL .2361 "\t" . '}' . PHP_EOL .2362 '}' . PHP_EOL .2363 '}'2364 )2365 ;2366 }2367 /** @php >= 7.0 */2368 public function testGetMockedClassCodeForRealClassWithoutConstructorPhp7()2369 {2370 $this2371 ->if($generator = new testedClass())2372 ->and($reflectionMethodController = new mock\controller())2373 ->and($reflectionMethodController->__construct = function () {2374 })2375 ->and($reflectionMethodController->getName = $methodName = uniqid())2376 ->and($reflectionMethodController->isConstructor = false)2377 ->and($reflectionMethodController->getParameters = [])2378 ->and($reflectionMethodController->isPublic = true)2379 ->and($reflectionMethodController->isProtected = false)2380 ->and($reflectionMethodController->isPrivate = false)2381 ->and($reflectionMethodController->isFinal = false)2382 ->and($reflectionMethodController->isAbstract = false)2383 ->and($reflectionMethodController->isStatic = false)2384 ->and($reflectionMethodController->returnsReference = false)2385 ->and($reflectionMethodController->hasReturnType = false)2386 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))2387 ->and($reflectionClassController = new mock\controller())2388 ->and($reflectionClassController->__construct = function () {2389 })2390 ->and($reflectionClassController->getName = function () use (& $realClass) {2391 return $realClass;2392 })2393 ->and($reflectionClassController->isFinal = false)2394 ->and($reflectionClassController->isInterface = false)2395 ->and($reflectionClassController->getMethods = [$reflectionMethod])2396 ->and($reflectionClassController->getConstructor = null)2397 ->and($reflectionClassController->isAbstract = false)2398 ->and($reflectionClass = new \mock\reflectionClass(null))2399 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {2400 return $reflectionClass;2401 }))2402 ->and($adapter = new atoum\test\adapter())2403 ->and($adapter->class_exists = function ($class) use (& $realClass) {2404 return ($class == '\\' . $realClass);2405 })2406 ->and($generator->setAdapter($adapter))2407 ->then2408 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(2409 'namespace mock {' . PHP_EOL .2410 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .2411 '{' . PHP_EOL .2412 $this->getMockControllerMethods() .2413 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .2414 "\t" . '{' . PHP_EOL .2415 "\t\t" . 'if ($mockController === null)' . PHP_EOL .2416 "\t\t" . '{' . PHP_EOL .2417 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .2418 "\t\t" . '}' . PHP_EOL .2419 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .2420 "\t\t" . '{' . PHP_EOL .2421 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .2422 "\t\t" . '}' . PHP_EOL .2423 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .2424 "\t\t" . '{' . PHP_EOL .2425 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .2426 "\t\t" . '}' . PHP_EOL .2427 "\t" . '}' . PHP_EOL .2428 "\t" . 'public function ' . $methodName . '()' . PHP_EOL .2429 "\t" . '{' . PHP_EOL .2430 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .2431 "\t\t" . 'if (isset($this->getMockController()->' . $methodName . ') === true)' . PHP_EOL .2432 "\t\t" . '{' . PHP_EOL .2433 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $methodName . '\', $arguments);' . PHP_EOL .2434 "\t\t\t" . 'return $return;' . PHP_EOL .2435 "\t\t" . '}' . PHP_EOL .2436 "\t\t" . 'else' . PHP_EOL .2437 "\t\t" . '{' . PHP_EOL .2438 "\t\t\t" . '$this->getMockController()->addCall(\'' . $methodName . '\', $arguments);' . PHP_EOL .2439 "\t\t\t" . '$return = call_user_func_array(\'parent::' . $methodName . '\', $arguments);' . PHP_EOL .2440 "\t\t\t" . 'return $return;' . PHP_EOL .2441 "\t\t" . '}' . PHP_EOL .2442 "\t" . '}' . PHP_EOL .2443 "\t" . 'public static function getMockedMethods()' . PHP_EOL .2444 "\t" . '{' . PHP_EOL .2445 "\t\t" . 'return ' . var_export(['__construct', $methodName], true) . ';' . PHP_EOL .2446 "\t" . '}' . PHP_EOL .2447 '}' . PHP_EOL .2448 '}'2449 )2450 ;2451 }2452 public function testGetMockedClassCodeForAbstractClassWithConstructorInInterface()2453 {2454 $this2455 ->if($generator = new testedClass())2456 ->and($publicMethodController = new mock\controller())2457 ->and($publicMethodController->__construct = function () {2458 })2459 ->and($publicMethodController->getName = '__construct')2460 ->and($publicMethodController->isConstructor = true)2461 ->and($publicMethodController->getParameters = [])2462 ->and($publicMethodController->isPublic = true)2463 ->and($publicMethodController->isProtected = false)2464 ->and($publicMethodController->isPrivate = false)2465 ->and($publicMethodController->isFinal = false)2466 ->and($publicMethodController->isStatic = false)2467 ->and($publicMethodController->isAbstract = true)2468 ->and($publicMethodController->returnsReference = false)2469 ->and($publicMethod = new \mock\reflectionMethod(null, null))2470 ->and($classController = new mock\controller())2471 ->and($classController->__construct = function () {2472 })2473 ->and($classController->getName = $className = uniqid())2474 ->and($classController->isFinal = false)2475 ->and($classController->isInterface = false)2476 ->and($classController->isAbstract = true)2477 ->and($classController->getMethods = [$publicMethod])2478 ->and($classController->getConstructor = $publicMethod)2479 ->and($class = new \mock\reflectionClass(null))2480 ->and($generator->setReflectionClassFactory(function () use ($class) {2481 return $class;2482 }))2483 ->and($adapter = new atoum\test\adapter())2484 ->and($adapter->class_exists = function ($class) use ($className) {2485 return ($class == '\\' . $className);2486 })2487 ->and($generator->setAdapter($adapter))2488 ->then2489 ->string($generator->getMockedClassCode($className))->isEqualTo(2490 'namespace mock {' . PHP_EOL .2491 'final class ' . $className . ' extends \\' . $className . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .2492 '{' . PHP_EOL .2493 $this->getMockControllerMethods() .2494 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .2495 "\t" . '{' . PHP_EOL .2496 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0, -1));' . PHP_EOL .2497 "\t\t" . 'if ($mockController === null)' . PHP_EOL .2498 "\t\t" . '{' . PHP_EOL .2499 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .2500 "\t\t" . '}' . PHP_EOL .2501 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .2502 "\t\t" . '{' . PHP_EOL .2503 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .2504 "\t\t" . '}' . PHP_EOL .2505 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .2506 "\t\t" . '{' . PHP_EOL .2507 "\t\t\t" . '$this->getMockController()->__construct = function() {};' . PHP_EOL .2508 "\t\t" . '}' . PHP_EOL .2509 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .2510 "\t" . '}' . PHP_EOL .2511 "\t" . 'public function __call($methodName, $arguments)' . PHP_EOL .2512 "\t" . '{' . PHP_EOL .2513 "\t\t" . 'if (isset($this->getMockController()->{$methodName}) === true)' . PHP_EOL .2514 "\t\t" . '{' . PHP_EOL .2515 "\t\t\t" . '$return = $this->getMockController()->invoke($methodName, $arguments);' . PHP_EOL .2516 "\t\t\t" . 'return $return;' . PHP_EOL .2517 "\t\t" . '}' . PHP_EOL .2518 "\t\t" . 'else' . PHP_EOL .2519 "\t\t" . '{' . PHP_EOL .2520 "\t\t\t" . '$this->getMockController()->addCall($methodName, $arguments);' . PHP_EOL .2521 "\t\t" . '}' . PHP_EOL .2522 "\t" . '}' . PHP_EOL .2523 "\t" . 'public static function getMockedMethods()' . PHP_EOL .2524 "\t" . '{' . PHP_EOL .2525 "\t\t" . 'return ' . var_export(['__construct', '__call'], true) . ';' . PHP_EOL .2526 "\t" . '}' . PHP_EOL .2527 '}' . PHP_EOL .2528 '}'2529 )2530 ;2531 }2532 public function testGenerate()2533 {2534 $this2535 ->if($generator = new testedClass())2536 ->then2537 ->exception(function () use ($generator) {2538 $generator->generate('');2539 })2540 ->isInstanceOf(atoum\exceptions\runtime::class)2541 ->hasMessage('Class name \'\' is invalid')2542 ->exception(function () use ($generator) {2543 $generator->generate('\\');2544 })2545 ->isInstanceOf(atoum\exceptions\runtime::class)2546 ->hasMessage('Class name \'\\\' is invalid')2547 ->exception(function () use ($generator, & $class) {2548 $generator->generate($class = ('\\' . uniqid() . '\\'));2549 })2550 ->isInstanceOf(atoum\exceptions\runtime::class)2551 ->hasMessage('Class name \'' . $class . '\' is invalid')2552 ->if($adapter = new atoum\test\adapter())2553 ->and($adapter->class_exists = false)2554 ->and($adapter->interface_exists = false)2555 ->and($generator->setAdapter($adapter))2556 ->and($class = uniqid('unknownClass'))2557 ->then2558 ->object($generator->generate($class))->isIdenticalTo($generator)2559 ->class('\mock\\' . $class)2560 ->hasNoParent()2561 ->hasInterface(atoum\mock\aggregator::class)2562 ->if($class = '\\' . uniqid('unknownClass'))2563 ->then2564 ->object($generator->generate($class))->isIdenticalTo($generator)2565 ->class('\mock' . $class)2566 ->hasNoParent()2567 ->hasInterface(atoum\mock\aggregator::class)2568 ->if($adapter->class_exists = true)2569 ->and($class = uniqid())2570 ->then2571 ->exception(function () use ($generator, $class) {2572 $generator->generate($class);2573 })2574 ->isInstanceOf(atoum\exceptions\logic::class)2575 ->hasMessage('Class \'\mock\\' . $class . '\' already exists')2576 ->if($class = '\\' . uniqid())2577 ->then2578 ->exception(function () use ($generator, $class) {2579 $generator->generate($class);2580 })2581 ->isInstanceOf(atoum\exceptions\logic::class)2582 ->hasMessage('Class \'\mock' . $class . '\' already exists')2583 ->if($class = uniqid())2584 ->and($adapter->class_exists = function ($arg) use ($class) {2585 return $arg === '\\' . $class;2586 })2587 ->and($reflectionClassController = new mock\controller())2588 ->and($reflectionClassController->__construct = function () {2589 })2590 ->and($reflectionClassController->isFinal = true)2591 ->and($reflectionClassController->isInterface = false)2592 ->and($reflectionClass = new \mock\reflectionClass(uniqid(), $reflectionClassController))2593 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {2594 return $reflectionClass;2595 }))2596 ->then2597 ->exception(function () use ($generator, $class) {2598 $generator->generate($class);2599 })2600 ->isInstanceOf(atoum\exceptions\logic::class)2601 ->hasMessage('Class \'\\' . $class . '\' is final, unable to mock it')2602 ->if($class = '\\' . uniqid())2603 ->and($adapter->class_exists = function ($arg) use ($class) {2604 return $arg === $class;2605 })2606 ->then2607 ->exception(function () use ($generator, $class) {2608 $generator->generate($class);2609 })2610 ->isInstanceOf(atoum\exceptions\logic::class)2611 ->hasMessage('Class \'' . $class . '\' is final, unable to mock it')2612 ->if($reflectionClassController->isFinal = false)2613 ->and($generator = new testedClass())2614 ->then2615 ->object($generator->generate(__CLASS__))->isIdenticalTo($generator)2616 ->class('\mock\\' . __CLASS__)2617 ->hasParent(__CLASS__)2618 ->hasInterface(atoum\mock\aggregator::class)2619 ->if($generator = new testedClass())2620 ->and($generator->shunt('__construct'))2621 ->then2622 ->boolean($generator->isShunted('__construct'))->isTrue()2623 ->object($generator->generate('reflectionMethod'))->isIdenticalTo($generator)2624 ->boolean($generator->isShunted('__construct'))->isFalse()2625 ->if($generator = new testedClass())2626 ->and($generator->shuntParentClassCalls())2627 ->then2628 ->object($generator->generate('reflectionParameter'))->isIdenticalTo($generator)2629 ->boolean($generator->callsToParentClassAreShunted())->isFalse()2630 ;2631 }2632 public function testMethodIsMockable()2633 {2634 $this2635 ->if($generator = new testedClass())2636 ->and($this->mockGenerator->orphanize('__construct'))2637 ->and($method = new \mock\reflectionMethod($this, $methodName = uniqid()))2638 ->and($this->calling($method)->getName = $methodName)2639 ->and($this->calling($method)->isFinal = false)2640 ->and($this->calling($method)->isStatic = false)2641 ->and($this->calling($method)->isAbstract = false)2642 ->and($this->calling($method)->isPrivate = false)2643 ->and($this->calling($method)->isProtected = false)2644 ->then2645 ->boolean($generator->methodIsMockable($method))->isTrue()2646 ->if($this->calling($method)->isFinal = true)2647 ->then2648 ->boolean($generator->methodIsMockable($method))->isFalse()2649 ->if($this->calling($method)->isFinal = false)2650 ->and($this->calling($method)->isStatic = true)2651 ->then2652 ->boolean($generator->methodIsMockable($method))->isFalse()2653 ->if($this->calling($method)->isStatic = false)2654 ->and($this->calling($method)->isPrivate = true)2655 ->then2656 ->boolean($generator->methodIsMockable($method))->isFalse()2657 ->if($this->calling($method)->isPrivate = false)2658 ->and($this->calling($method)->isProtected = true)2659 ->then2660 ->boolean($generator->methodIsMockable($method))->isFalse()2661 ->if($generator->overload(new mock\php\method($methodName)))2662 ->then2663 ->boolean($generator->methodIsMockable($method))->isTrue()2664 ;2665 }2666 /** @php < 7.0 */2667 public function testMethodIsMockableWithReservedWord($reservedWord)2668 {2669 $this2670 ->if($generator = new testedClass())2671 ->and($this->mockGenerator->orphanize('__construct'))2672 ->and($method = new \mock\reflectionMethod($this, $reservedWord))2673 ->and($this->calling($method)->getName = $reservedWord)2674 ->and($this->calling($method)->isFinal = false)2675 ->and($this->calling($method)->isStatic = false)2676 ->and($this->calling($method)->isAbstract = false)2677 ->and($this->calling($method)->isPrivate = false)2678 ->and($this->calling($method)->isProtected = false)2679 ->then2680 ->boolean($generator->methodIsMockable($method))->isFalse()2681 ;2682 }2683 /** @php >= 7.0 */2684 public function testMethodIsMockableWithReservedWordPhp7($reservedWord)2685 {2686 $this2687 ->if($generator = new testedClass())2688 ->and($this->mockGenerator->orphanize('__construct'))2689 ->and($method = new \mock\reflectionMethod($this, $reservedWord))2690 ->and($this->calling($method)->getName = $reservedWord)2691 ->and($this->calling($method)->isFinal = false)2692 ->and($this->calling($method)->isStatic = false)2693 ->and($this->calling($method)->isAbstract = false)2694 ->and($this->calling($method)->isPrivate = false)2695 ->and($this->calling($method)->isProtected = false)2696 ->then2697 ->boolean($generator->methodIsMockable($method))->isFalse()2698 ;2699 }2700 /**2701 * @php < 7.02702 */2703 public function testGetMockedClassCodeWithOrphanizedMethod()2704 {2705 $this2706 ->if->mockGenerator->orphanize('__construct')2707 ->and($a = new \mock\reflectionParameter())2708 ->and($this->calling($a)->getName = 'a')2709 ->and($this->calling($a)->isArray = false)2710 ->and($this->calling($a)->isCallable = false)2711 ->and($this->calling($a)->getClass = null)2712 ->and($this->calling($a)->isPassedByReference = false)2713 ->and($this->calling($a)->isDefaultValueAvailable = false)2714 ->and($this->calling($a)->isOptional = false)2715 ->and($this->calling($a)->isVariadic = false)2716 ->and($this->calling($a)->allowsNull = true)2717 ->and($b = new \mock\reflectionParameter())2718 ->and($this->calling($b)->getName = 'b')2719 ->and($this->calling($b)->isArray = false)2720 ->and($this->calling($b)->isCallable = false)2721 ->and($this->calling($b)->getClass = null)2722 ->and($this->calling($b)->isPassedByReference = false)2723 ->and($this->calling($b)->isDefaultValueAvailable = false)2724 ->and($this->calling($b)->isOptional = false)2725 ->and($this->calling($b)->isVariadic = false)2726 ->and($this->calling($b)->allowsNull = true)2727 ->and($c = new \mock\reflectionParameter())2728 ->and($this->calling($c)->getName = 'c')2729 ->and($this->calling($c)->isArray = false)2730 ->and($this->calling($c)->isCallable = false)2731 ->and($this->calling($c)->getClass = null)2732 ->and($this->calling($c)->isPassedByReference = false)2733 ->and($this->calling($c)->isDefaultValueAvailable = false)2734 ->and($this->calling($c)->isOptional = false)2735 ->and($this->calling($c)->isVariadic = false)2736 ->and($this->calling($c)->allowsNull = true)2737 ->and->mockGenerator->orphanize('__construct')2738 ->and($constructor = new \mock\reflectionMethod())2739 ->and($this->calling($constructor)->getName = '__construct')2740 ->and($this->calling($constructor)->isConstructor = true)2741 ->and($this->calling($constructor)->getParameters = [$a, $b, $c])2742 ->and($this->calling($constructor)->isPublic = true)2743 ->and($this->calling($constructor)->isProtected = false)2744 ->and($this->calling($constructor)->isPrivate = false)2745 ->and($this->calling($constructor)->isFinal = false)2746 ->and($this->calling($constructor)->isStatic = false)2747 ->and($this->calling($constructor)->isAbstract = false)2748 ->and($this->calling($constructor)->returnsReference = false)2749 ->and->mockGenerator->orphanize('__construct')2750 ->and($class = new \mock\reflectionClass())2751 ->and($this->calling($class)->getName = $className = uniqid())2752 ->and($this->calling($class)->isFinal = false)2753 ->and($this->calling($class)->isInterface = false)2754 ->and($this->calling($class)->isAbstract = false)2755 ->and($this->calling($class)->getMethods = [$constructor])2756 ->and($this->calling($class)->getConstructor = $constructor)2757 ->and($adapter = new atoum\test\adapter())2758 ->and($adapter->class_exists = function ($class) use ($className) {2759 return ($class == '\\' . $className);2760 })2761 ->and($generator = new testedClass())2762 ->and($generator->setReflectionClassFactory(function () use ($class) {2763 return $class;2764 }))2765 ->and($generator->setAdapter($adapter))2766 ->and($generator->orphanize('__construct'))2767 ->then2768 ->string($generator->getMockedClassCode($className))->isEqualTo(2769 'namespace mock {' . PHP_EOL .2770 'final class ' . $className . ' extends \\' . $className . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .2771 '{' . PHP_EOL .2772 $this->getMockControllerMethods() .2773 "\t" . 'public function __construct($a = null, $b = null, $c = null, \mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .2774 "\t" . '{' . PHP_EOL .2775 "\t\t" . '$arguments = array_merge(array($a, $b, $c), array_slice(func_get_args(), 3, -1));' . PHP_EOL .2776 "\t\t" . 'if ($mockController === null)' . PHP_EOL .2777 "\t\t" . '{' . PHP_EOL .2778 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .2779 "\t\t" . '}' . PHP_EOL .2780 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .2781 "\t\t" . '{' . PHP_EOL .2782 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .2783 "\t\t" . '}' . PHP_EOL .2784 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .2785 "\t\t" . '{' . PHP_EOL .2786 "\t\t\t" . '$this->getMockController()->__construct = function() {};' . PHP_EOL .2787 "\t\t" . '}' . PHP_EOL .2788 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .2789 "\t" . '}' . PHP_EOL .2790 "\t" . 'public static function getMockedMethods()' . PHP_EOL .2791 "\t" . '{' . PHP_EOL .2792 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .2793 "\t" . '}' . PHP_EOL .2794 '}' . PHP_EOL .2795 '}'2796 )2797 ;2798 }2799 /**2800 * @php >= 7.02801 */2802 public function testGetMockedClassCodeWithOrphanizedMethodPhp7()2803 {2804 $this2805 ->if->mockGenerator->orphanize('__construct')2806 ->and($a = new \mock\reflectionParameter())2807 ->and($this->calling($a)->getName = 'a')2808 ->and($this->calling($a)->isArray = false)2809 ->and($this->calling($a)->isCallable = false)2810 ->and($this->calling($a)->getClass = null)2811 ->and($this->calling($a)->isPassedByReference = false)2812 ->and($this->calling($a)->isDefaultValueAvailable = false)2813 ->and($this->calling($a)->isOptional = false)2814 ->and($this->calling($a)->isVariadic = false)2815 ->and($this->calling($a)->hasType = false)2816 ->and($this->calling($a)->allowsNull = true)2817 ->and($b = new \mock\reflectionParameter())2818 ->and($this->calling($b)->getName = 'b')2819 ->and($this->calling($b)->isArray = false)2820 ->and($this->calling($b)->isCallable = false)2821 ->and($this->calling($b)->getClass = null)2822 ->and($this->calling($b)->isPassedByReference = false)2823 ->and($this->calling($b)->isDefaultValueAvailable = false)2824 ->and($this->calling($b)->isOptional = false)2825 ->and($this->calling($b)->isVariadic = false)2826 ->and($this->calling($b)->hasType = false)2827 ->and($this->calling($b)->allowsNull = true)2828 ->and($c = new \mock\reflectionParameter())2829 ->and($this->calling($c)->getName = 'c')2830 ->and($this->calling($c)->isArray = false)2831 ->and($this->calling($c)->isCallable = false)2832 ->and($this->calling($c)->getClass = null)2833 ->and($this->calling($c)->isPassedByReference = false)2834 ->and($this->calling($c)->isDefaultValueAvailable = false)2835 ->and($this->calling($c)->isOptional = false)2836 ->and($this->calling($c)->isVariadic = false)2837 ->and($this->calling($c)->hasType = false)2838 ->and($this->calling($c)->allowsNull = true)2839 ->and->mockGenerator->orphanize('__construct')2840 ->and($constructor = new \mock\reflectionMethod())2841 ->and($this->calling($constructor)->getName = '__construct')2842 ->and($this->calling($constructor)->isConstructor = true)2843 ->and($this->calling($constructor)->getParameters = [$a, $b, $c])2844 ->and($this->calling($constructor)->isPublic = true)2845 ->and($this->calling($constructor)->isProtected = false)2846 ->and($this->calling($constructor)->isPrivate = false)2847 ->and($this->calling($constructor)->isFinal = false)2848 ->and($this->calling($constructor)->isStatic = false)2849 ->and($this->calling($constructor)->isAbstract = false)2850 ->and($this->calling($constructor)->returnsReference = false)2851 ->and->mockGenerator->orphanize('__construct')2852 ->and($class = new \mock\reflectionClass())2853 ->and($this->calling($class)->getName = $className = uniqid())2854 ->and($this->calling($class)->isFinal = false)2855 ->and($this->calling($class)->isInterface = false)2856 ->and($this->calling($class)->isAbstract = false)2857 ->and($this->calling($class)->getMethods = [$constructor])2858 ->and($this->calling($class)->getConstructor = $constructor)2859 ->and($adapter = new atoum\test\adapter())2860 ->and($adapter->class_exists = function ($class) use ($className) {2861 return ($class == '\\' . $className);2862 })2863 ->and($generator = new testedClass())2864 ->and($generator->setReflectionClassFactory(function () use ($class) {2865 return $class;2866 }))2867 ->and($generator->setAdapter($adapter))2868 ->and($generator->orphanize('__construct'))2869 ->then2870 ->string($generator->getMockedClassCode($className))->isEqualTo(2871 'namespace mock {' . PHP_EOL .2872 'final class ' . $className . ' extends \\' . $className . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .2873 '{' . PHP_EOL .2874 $this->getMockControllerMethods() .2875 "\t" . 'public function __construct($a = null, $b = null, $c = null, \mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .2876 "\t" . '{' . PHP_EOL .2877 "\t\t" . '$arguments = array_merge(array($a, $b, $c), array_slice(func_get_args(), 3, -1));' . PHP_EOL .2878 "\t\t" . 'if ($mockController === null)' . PHP_EOL .2879 "\t\t" . '{' . PHP_EOL .2880 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .2881 "\t\t" . '}' . PHP_EOL .2882 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .2883 "\t\t" . '{' . PHP_EOL .2884 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .2885 "\t\t" . '}' . PHP_EOL .2886 "\t\t" . 'if (isset($this->getMockController()->__construct) === false)' . PHP_EOL .2887 "\t\t" . '{' . PHP_EOL .2888 "\t\t\t" . '$this->getMockController()->__construct = function() {};' . PHP_EOL .2889 "\t\t" . '}' . PHP_EOL .2890 "\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .2891 "\t" . '}' . PHP_EOL .2892 "\t" . 'public static function getMockedMethods()' . PHP_EOL .2893 "\t" . '{' . PHP_EOL .2894 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .2895 "\t" . '}' . PHP_EOL .2896 '}' . PHP_EOL .2897 '}'2898 )2899 ;2900 }2901 /**2902 * @php < 7.02903 */2904 public function testGetMockedClassCodeWithProtectedAbstractMethod()2905 {2906 $this2907 ->if($generator = new testedClass())2908 ->and($parameterController1 = new mock\controller())2909 ->and($parameterController1->__construct = function () {2910 })2911 ->and($parameterController1->isArray = false)2912 ->and($parameterController1->isCallable = false)2913 ->and($parameterController1->getClass = null)2914 ->and($parameterController1->getName = 'arg1')2915 ->and($parameterController1->isPassedByReference = false)2916 ->and($parameterController1->isDefaultValueAvailable = false)2917 ->and($parameterController1->isOptional = false)2918 ->and($parameterController1->isVariadic = false)2919 ->and($parameterController1->allowsNull = false)2920 ->and($parameter1 = new \mock\reflectionParameter(null, null))2921 ->and($parameterController2 = new mock\controller())2922 ->and($parameterController2->__construct = function () {2923 })2924 ->and($parameterController2->isArray = true)2925 ->and($parameterController2->isCallable = false)2926 ->and($parameterController2->getClass = null)2927 ->and($parameterController2->getName = 'arg2')2928 ->and($parameterController2->isPassedByReference = true)2929 ->and($parameterController2->isDefaultValueAvailable = false)2930 ->and($parameterController2->isOptional = false)2931 ->and($parameterController2->isVariadic = false)2932 ->and($parameterController2->allowsNull = false)2933 ->and($parameter2 = new \mock\reflectionParameter(null, null))2934 ->and($publicMethodController = new mock\controller())2935 ->and($publicMethodController->__construct = function () {2936 })2937 ->and($publicMethodController->getName = $publicMethodName = uniqid())2938 ->and($publicMethodController->isConstructor = false)2939 ->and($publicMethodController->getParameters = [$parameter1, $parameter2])2940 ->and($publicMethodController->isPublic = true)2941 ->and($publicMethodController->isProtected = false)2942 ->and($publicMethodController->isPrivate = false)2943 ->and($publicMethodController->isFinal = false)2944 ->and($publicMethodController->isStatic = false)2945 ->and($publicMethodController->isAbstract = true)2946 ->and($publicMethodController->returnsReference = false)2947 ->and($publicMethod = new \mock\reflectionMethod(null, null))2948 ->and($protectedMethodController = new mock\controller())2949 ->and($protectedMethodController->__construct = function () {2950 })2951 ->and($protectedMethodController->getName = $protectedMethodName = uniqid())2952 ->and($protectedMethodController->isConstructor = false)2953 ->and($protectedMethodController->getParameters = [])2954 ->and($protectedMethodController->isPublic = false)2955 ->and($protectedMethodController->isProtected = true)2956 ->and($protectedMethodController->isPrivate = false)2957 ->and($protectedMethodController->isFinal = false)2958 ->and($protectedMethodController->isStatic = false)2959 ->and($protectedMethodController->isAbstract = true)2960 ->and($protectedMethodController->returnsReference = false)2961 ->and($protectedMethod = new \mock\reflectionMethod(null, null))2962 ->and($classController = new mock\controller())2963 ->and($classController->__construct = function () {2964 })2965 ->and($classController->getName = $className = uniqid())2966 ->and($classController->isFinal = false)2967 ->and($classController->isInterface = false)2968 ->and($classController->getMethods = [$publicMethod, $protectedMethod])2969 ->and($classController->getConstructor = null)2970 ->and($classController->isAbstract = false)2971 ->and($class = new \mock\reflectionClass(null))2972 ->and($generator->setReflectionClassFactory(function () use ($class) {2973 return $class;2974 }))2975 ->and($adapter = new atoum\test\adapter())2976 ->and($adapter->class_exists = function ($class) use ($className) {2977 return ($class == '\\' . $className);2978 })2979 ->and($generator->setAdapter($adapter))2980 ->then2981 ->string($generator->getMockedClassCode($className))->isEqualTo(2982 'namespace mock {' . PHP_EOL .2983 'final class ' . $className . ' extends \\' . $className . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .2984 '{' . PHP_EOL .2985 $this->getMockControllerMethods() .2986 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .2987 "\t" . '{' . PHP_EOL .2988 "\t\t" . 'if ($mockController === null)' . PHP_EOL .2989 "\t\t" . '{' . PHP_EOL .2990 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .2991 "\t\t" . '}' . PHP_EOL .2992 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .2993 "\t\t" . '{' . PHP_EOL .2994 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .2995 "\t\t" . '}' . PHP_EOL .2996 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .2997 "\t\t" . '{' . PHP_EOL .2998 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .2999 "\t\t" . '}' . PHP_EOL .3000 "\t" . '}' . PHP_EOL .3001 "\t" . 'public function ' . $publicMethodName . '($arg1, array & $arg2)' . PHP_EOL .3002 "\t" . '{' . PHP_EOL .3003 "\t\t" . '$arguments = array_merge(array($arg1, & $arg2), array_slice(func_get_args(), 2));' . PHP_EOL .3004 "\t\t" . 'if (isset($this->getMockController()->' . $publicMethodName . ') === false)' . PHP_EOL .3005 "\t\t" . '{' . PHP_EOL .3006 "\t\t\t" . '$this->getMockController()->' . $publicMethodName . ' = function() {' . PHP_EOL .3007 "\t\t\t" . '};' . PHP_EOL .3008 "\t\t" . '}' . PHP_EOL .3009 "\t\t" . '$return = $this->getMockController()->invoke(\'' . $publicMethodName . '\', $arguments);' . PHP_EOL .3010 "\t\t" . 'return $return;' . PHP_EOL .3011 "\t" . '}' . PHP_EOL .3012 "\t" . 'protected function ' . $protectedMethodName . '()' . PHP_EOL .3013 "\t" . '{' . PHP_EOL .3014 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .3015 "\t\t" . 'if (isset($this->getMockController()->' . $protectedMethodName . ') === false)' . PHP_EOL .3016 "\t\t" . '{' . PHP_EOL .3017 "\t\t\t" . '$this->getMockController()->' . $protectedMethodName . ' = function() {' . PHP_EOL .3018 "\t\t\t" . '};' . PHP_EOL .3019 "\t\t" . '}' . PHP_EOL .3020 "\t\t" . '$return = $this->getMockController()->invoke(\'' . $protectedMethodName . '\', $arguments);' . PHP_EOL .3021 "\t\t" . 'return $return;' . PHP_EOL .3022 "\t" . '}' . PHP_EOL .3023 "\t" . 'public static function getMockedMethods()' . PHP_EOL .3024 "\t" . '{' . PHP_EOL .3025 "\t\t" . 'return ' . var_export(['__construct', $publicMethodName, $protectedMethodName], true) . ';' . PHP_EOL .3026 "\t" . '}' . PHP_EOL .3027 '}' . PHP_EOL .3028 '}'3029 )3030 ;3031 }3032 /**3033 * @php >= 7.03034 */3035 public function testGetMockedClassCodeWithProtectedAbstractMethodPhp7()3036 {3037 $this3038 ->if($generator = new testedClass())3039 ->and($parameterController1 = new mock\controller())3040 ->and($parameterController1->__construct = function () {3041 })3042 ->and($parameterController1->isArray = false)3043 ->and($parameterController1->isCallable = false)3044 ->and($parameterController1->getClass = null)3045 ->and($parameterController1->getName = 'arg1')3046 ->and($parameterController1->isPassedByReference = false)3047 ->and($parameterController1->isDefaultValueAvailable = false)3048 ->and($parameterController1->isOptional = false)3049 ->and($parameterController1->isVariadic = false)3050 ->and($parameterController1->hasType = false)3051 ->and($parameterController1->allowsNull = false)3052 ->and($parameter1 = new \mock\reflectionParameter(null, null))3053 ->and($parameterController2 = new mock\controller())3054 ->and($parameterController2->__construct = function () {3055 })3056 ->and($parameterController2->isArray = true)3057 ->and($parameterController2->isCallable = false)3058 ->and($parameterController2->getClass = null)3059 ->and($parameterController2->getName = 'arg2')3060 ->and($parameterController2->isPassedByReference = true)3061 ->and($parameterController2->isDefaultValueAvailable = false)3062 ->and($parameterController2->isOptional = false)3063 ->and($parameterController2->isVariadic = false)3064 ->and($parameterController2->hasType = false)3065 ->and($parameterController2->allowsNull = false)3066 ->and($parameter2 = new \mock\reflectionParameter(null, null))3067 ->and($publicMethodController = new mock\controller())3068 ->and($publicMethodController->__construct = function () {3069 })3070 ->and($publicMethodController->getName = $publicMethodName = uniqid())3071 ->and($publicMethodController->isConstructor = false)3072 ->and($publicMethodController->getParameters = [$parameter1, $parameter2])3073 ->and($publicMethodController->isPublic = true)3074 ->and($publicMethodController->isProtected = false)3075 ->and($publicMethodController->isPrivate = false)3076 ->and($publicMethodController->isFinal = false)3077 ->and($publicMethodController->isStatic = false)3078 ->and($publicMethodController->isAbstract = true)3079 ->and($publicMethodController->returnsReference = false)3080 ->and($publicMethodController->hasReturnType = false)3081 ->and($publicMethod = new \mock\reflectionMethod(null, null))3082 ->and($protectedMethodController = new mock\controller())3083 ->and($protectedMethodController->__construct = function () {3084 })3085 ->and($protectedMethodController->getName = $protectedMethodName = uniqid())3086 ->and($protectedMethodController->isConstructor = false)3087 ->and($protectedMethodController->getParameters = [])3088 ->and($protectedMethodController->isPublic = false)3089 ->and($protectedMethodController->isProtected = true)3090 ->and($protectedMethodController->isPrivate = false)3091 ->and($protectedMethodController->isFinal = false)3092 ->and($protectedMethodController->isStatic = false)3093 ->and($protectedMethodController->isAbstract = true)3094 ->and($protectedMethodController->returnsReference = false)3095 ->and($protectedMethodController->hasReturnType = false)3096 ->and($protectedMethod = new \mock\reflectionMethod(null, null))3097 ->and($classController = new mock\controller())3098 ->and($classController->__construct = function () {3099 })3100 ->and($classController->getName = $className = uniqid())3101 ->and($classController->isFinal = false)3102 ->and($classController->isInterface = false)3103 ->and($classController->getMethods = [$publicMethod, $protectedMethod])3104 ->and($classController->getConstructor = null)3105 ->and($classController->isAbstract = false)3106 ->and($class = new \mock\reflectionClass(null))3107 ->and($generator->setReflectionClassFactory(function () use ($class) {3108 return $class;3109 }))3110 ->and($adapter = new atoum\test\adapter())3111 ->and($adapter->class_exists = function ($class) use ($className) {3112 return ($class == '\\' . $className);3113 })3114 ->and($generator->setAdapter($adapter))3115 ->then3116 ->string($generator->getMockedClassCode($className))->isEqualTo(3117 'namespace mock {' . PHP_EOL .3118 'final class ' . $className . ' extends \\' . $className . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .3119 '{' . PHP_EOL .3120 $this->getMockControllerMethods() .3121 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .3122 "\t" . '{' . PHP_EOL .3123 "\t\t" . 'if ($mockController === null)' . PHP_EOL .3124 "\t\t" . '{' . PHP_EOL .3125 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .3126 "\t\t" . '}' . PHP_EOL .3127 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .3128 "\t\t" . '{' . PHP_EOL .3129 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .3130 "\t\t" . '}' . PHP_EOL .3131 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .3132 "\t\t" . '{' . PHP_EOL .3133 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .3134 "\t\t" . '}' . PHP_EOL .3135 "\t" . '}' . PHP_EOL .3136 "\t" . 'public function ' . $publicMethodName . '($arg1, array & $arg2)' . PHP_EOL .3137 "\t" . '{' . PHP_EOL .3138 "\t\t" . '$arguments = array_merge(array($arg1, & $arg2), array_slice(func_get_args(), 2));' . PHP_EOL .3139 "\t\t" . 'if (isset($this->getMockController()->' . $publicMethodName . ') === false)' . PHP_EOL .3140 "\t\t" . '{' . PHP_EOL .3141 "\t\t\t" . '$this->getMockController()->' . $publicMethodName . ' = function() {' . PHP_EOL .3142 "\t\t\t" . '};' . PHP_EOL .3143 "\t\t" . '}' . PHP_EOL .3144 "\t\t" . '$return = $this->getMockController()->invoke(\'' . $publicMethodName . '\', $arguments);' . PHP_EOL .3145 "\t\t" . 'return $return;' . PHP_EOL .3146 "\t" . '}' . PHP_EOL .3147 "\t" . 'protected function ' . $protectedMethodName . '()' . PHP_EOL .3148 "\t" . '{' . PHP_EOL .3149 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .3150 "\t\t" . 'if (isset($this->getMockController()->' . $protectedMethodName . ') === false)' . PHP_EOL .3151 "\t\t" . '{' . PHP_EOL .3152 "\t\t\t" . '$this->getMockController()->' . $protectedMethodName . ' = function() {' . PHP_EOL .3153 "\t\t\t" . '};' . PHP_EOL .3154 "\t\t" . '}' . PHP_EOL .3155 "\t\t" . '$return = $this->getMockController()->invoke(\'' . $protectedMethodName . '\', $arguments);' . PHP_EOL .3156 "\t\t" . 'return $return;' . PHP_EOL .3157 "\t" . '}' . PHP_EOL .3158 "\t" . 'public static function getMockedMethods()' . PHP_EOL .3159 "\t" . '{' . PHP_EOL .3160 "\t\t" . 'return ' . var_export(['__construct', $publicMethodName, $protectedMethodName], true) . ';' . PHP_EOL .3161 "\t" . '}' . PHP_EOL .3162 '}' . PHP_EOL .3163 '}'3164 )3165 ;3166 }3167 public function testGetMockedClassCodeForClassWithCallableTypeHint()3168 {3169 $this3170 ->if($generator = new testedClass())3171 ->and($reflectionParameterController = new mock\controller())3172 ->and($reflectionParameterController->__construct = function () {3173 })3174 ->and($reflectionParameterController->isArray = false)3175 ->and($reflectionParameterController->isCallable = true)3176 ->and($reflectionParameterController->getName = 'callback')3177 ->and($reflectionParameterController->isPassedByReference = false)3178 ->and($reflectionParameterController->isDefaultValueAvailable = false)3179 ->and($reflectionParameterController->isOptional = false)3180 ->and($reflectionParameterController->isVariadic = false)3181 ->and($reflectionParameterController->allowsNull = false)3182 ->and($reflectionParameter = new \mock\reflectionParameter(null, null))3183 ->and($reflectionMethodController = new mock\controller())3184 ->and($reflectionMethodController->__construct = function () {3185 })3186 ->and($reflectionMethodController->getName = '__construct')3187 ->and($reflectionMethodController->isConstructor = true)3188 ->and($reflectionMethodController->getParameters = [$reflectionParameter])3189 ->and($reflectionMethodController->isPublic = true)3190 ->and($reflectionMethodController->isProtected = false)3191 ->and($reflectionMethodController->isPrivate = false)3192 ->and($reflectionMethodController->isFinal = false)3193 ->and($reflectionMethodController->isStatic = false)3194 ->and($reflectionMethodController->isAbstract = false)3195 ->and($reflectionMethodController->returnsReference = false)3196 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))3197 ->and($reflectionClassController = new mock\controller())3198 ->and($reflectionClassController->__construct = function () {3199 })3200 ->and($reflectionClassController->getName = function () use (& $realClass) {3201 return $realClass;3202 })3203 ->and($reflectionClassController->isFinal = false)3204 ->and($reflectionClassController->isInterface = false)3205 ->and($reflectionClassController->getMethods = [$reflectionMethod])3206 ->and($reflectionClassController->getConstructor = $reflectionMethod)3207 ->and($reflectionClassController->isAbstract = false)3208 ->and($reflectionClass = new \mock\reflectionClass(null))3209 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {3210 return $reflectionClass;3211 }))3212 ->and($adapter = new atoum\test\adapter())3213 ->and($adapter->class_exists = function ($class) use (& $realClass) {3214 return ($class == '\\' . $realClass);3215 })3216 ->and($generator->setAdapter($adapter))3217 ->then3218 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(3219 'namespace mock {' . PHP_EOL .3220 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .3221 '{' . PHP_EOL .3222 $this->getMockControllerMethods() .3223 "\t" . 'public function __construct(callable $callback, \mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .3224 "\t" . '{' . PHP_EOL .3225 "\t\t" . '$arguments = array_merge(array($callback), array_slice(func_get_args(), 1, -1));' . PHP_EOL .3226 "\t\t" . 'if ($mockController === null)' . PHP_EOL .3227 "\t\t" . '{' . PHP_EOL .3228 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .3229 "\t\t" . '}' . PHP_EOL .3230 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .3231 "\t\t" . '{' . PHP_EOL .3232 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .3233 "\t\t" . '}' . PHP_EOL .3234 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .3235 "\t\t" . '{' . PHP_EOL .3236 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .3237 "\t\t" . '}' . PHP_EOL .3238 "\t\t" . 'else' . PHP_EOL .3239 "\t\t" . '{' . PHP_EOL .3240 "\t\t\t" . '$this->getMockController()->addCall(\'__construct\', $arguments);' . PHP_EOL .3241 "\t\t\t" . 'call_user_func_array(\'parent::__construct\', $arguments);' . PHP_EOL .3242 "\t\t" . '}' . PHP_EOL .3243 "\t" . '}' . PHP_EOL .3244 "\t" . 'public static function getMockedMethods()' . PHP_EOL .3245 "\t" . '{' . PHP_EOL .3246 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .3247 "\t" . '}' . PHP_EOL .3248 '}' . PHP_EOL .3249 '}'3250 )3251 ;3252 }3253 /**3254 * @php < 7.03255 */3256 public function testGetMockedClassCodeForClassWithVariadicArgumentsInConstruct()3257 {3258 $this3259 ->if($generator = new testedClass())3260 ->and($reflectionParameterController = new mock\controller())3261 ->and($reflectionParameterController->__construct = function () {3262 })3263 ->and($reflectionParameterController->isArray = false)3264 ->and($reflectionParameterController->isCallable = false)3265 ->and($reflectionParameterController->getName = 'variadic')3266 ->and($reflectionParameterController->isPassedByReference = false)3267 ->and($reflectionParameterController->isDefaultValueAvailable = false)3268 ->and($reflectionParameterController->isOptional = false)3269 ->and($reflectionParameterController->isVariadic = true)3270 ->and($reflectionParameterController->getClass = null)3271 ->and($reflectionParameterController->allowsNull = false)3272 ->and($reflectionParameter = new \mock\reflectionParameter(null, null))3273 ->and($reflectionMethodController = new mock\controller())3274 ->and($reflectionMethodController->__construct = function () {3275 })3276 ->and($reflectionMethodController->getName = '__construct')3277 ->and($reflectionMethodController->isConstructor = true)3278 ->and($reflectionMethodController->getParameters = [$reflectionParameter])3279 ->and($reflectionMethodController->isPublic = true)3280 ->and($reflectionMethodController->isProtected = false)3281 ->and($reflectionMethodController->isPrivate = false)3282 ->and($reflectionMethodController->isFinal = false)3283 ->and($reflectionMethodController->isStatic = false)3284 ->and($reflectionMethodController->isAbstract = false)3285 ->and($reflectionMethodController->returnsReference = false)3286 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))3287 ->and($reflectionClassController = new mock\controller())3288 ->and($reflectionClassController->__construct = function () {3289 })3290 ->and($reflectionClassController->getName = function () use (& $realClass) {3291 return $realClass;3292 })3293 ->and($reflectionClassController->isFinal = false)3294 ->and($reflectionClassController->isInterface = false)3295 ->and($reflectionClassController->getMethods = [$reflectionMethod])3296 ->and($reflectionClassController->getConstructor = $reflectionMethod)3297 ->and($reflectionClassController->isAbstract = false)3298 ->and($reflectionClass = new \mock\reflectionClass(null))3299 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {3300 return $reflectionClass;3301 }))3302 ->and($adapter = new atoum\test\adapter())3303 ->and($adapter->class_exists = function ($class) use (& $realClass) {3304 return ($class == '\\' . $realClass);3305 })3306 ->and($generator->setAdapter($adapter))3307 ->then3308 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(3309 'namespace mock {' . PHP_EOL .3310 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .3311 '{' . PHP_EOL .3312 $this->getMockControllerMethods() .3313 "\t" . 'public function __construct(... $variadic)' . PHP_EOL .3314 "\t" . '{' . PHP_EOL .3315 "\t\t" . '$arguments = func_get_args();' . PHP_EOL .3316 "\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .3317 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .3318 "\t\t" . '{' . PHP_EOL .3319 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .3320 "\t\t" . '}' . PHP_EOL .3321 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .3322 "\t\t" . '{' . PHP_EOL .3323 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', $arguments);' . PHP_EOL .3324 "\t\t" . '}' . PHP_EOL .3325 "\t\t" . 'else' . PHP_EOL .3326 "\t\t" . '{' . PHP_EOL .3327 "\t\t\t" . '$this->getMockController()->addCall(\'__construct\', $arguments);' . PHP_EOL .3328 "\t\t\t" . 'call_user_func_array(\'parent::__construct\', $arguments);' . PHP_EOL .3329 "\t\t" . '}' . PHP_EOL .3330 "\t" . '}' . PHP_EOL .3331 "\t" . 'public static function getMockedMethods()' . PHP_EOL .3332 "\t" . '{' . PHP_EOL .3333 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .3334 "\t" . '}' . PHP_EOL .3335 '}' . PHP_EOL .3336 '}'3337 )3338 ;3339 }3340 /**3341 * @php < 7.03342 */3343 public function testGetMockedClassCodeForClassWithOnlyVariadicArgumentsInMethod()3344 {3345 $this3346 ->if($generator = new testedClass())3347 ->and($reflectionParameterController = new mock\controller())3348 ->and($reflectionParameterController->__construct = function () {3349 })3350 ->and($reflectionParameterController->isArray = false)3351 ->and($reflectionParameterController->isCallable = false)3352 ->and($reflectionParameterController->getName = 'variadic')3353 ->and($reflectionParameterController->isPassedByReference = false)3354 ->and($reflectionParameterController->isDefaultValueAvailable = false)3355 ->and($reflectionParameterController->isOptional = false)3356 ->and($reflectionParameterController->isVariadic = true)3357 ->and($reflectionParameterController->getClass = null)3358 ->and($reflectionParameterController->allowsNull = false)3359 ->and($reflectionParameter = new \mock\reflectionParameter(null, null))3360 ->and($reflectionMethodController = new mock\controller())3361 ->and($reflectionMethodController->__construct = function () {3362 })3363 ->and($reflectionMethodController->getName = $methodName = uniqid())3364 ->and($reflectionMethodController->isConstructor = false)3365 ->and($reflectionMethodController->getParameters = [$reflectionParameter])3366 ->and($reflectionMethodController->isPublic = true)3367 ->and($reflectionMethodController->isProtected = false)3368 ->and($reflectionMethodController->isPrivate = false)3369 ->and($reflectionMethodController->isFinal = false)3370 ->and($reflectionMethodController->isStatic = false)3371 ->and($reflectionMethodController->isAbstract = false)3372 ->and($reflectionMethodController->returnsReference = false)3373 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))3374 ->and($reflectionClassController = new mock\controller())3375 ->and($reflectionClassController->__construct = function () {3376 })3377 ->and($reflectionClassController->getName = function () use (& $realClass) {3378 return $realClass;3379 })3380 ->and($reflectionClassController->isFinal = false)3381 ->and($reflectionClassController->isInterface = false)3382 ->and($reflectionClassController->getMethods = [$reflectionMethod])3383 ->and($reflectionClassController->getConstructor = null)3384 ->and($reflectionClassController->isAbstract = false)3385 ->and($reflectionClass = new \mock\reflectionClass(null))3386 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {3387 return $reflectionClass;3388 }))3389 ->and($adapter = new atoum\test\adapter())3390 ->and($adapter->class_exists = function ($class) use (& $realClass) {3391 return ($class == '\\' . $realClass);3392 })3393 ->and($generator->setAdapter($adapter))3394 ->then3395 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(3396 'namespace mock {' . PHP_EOL .3397 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .3398 '{' . PHP_EOL .3399 $this->getMockControllerMethods() .3400 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .3401 "\t" . '{' . PHP_EOL .3402 "\t\t" . 'if ($mockController === null)' . PHP_EOL .3403 "\t\t" . '{' . PHP_EOL .3404 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .3405 "\t\t" . '}' . PHP_EOL .3406 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .3407 "\t\t" . '{' . PHP_EOL .3408 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .3409 "\t\t" . '}' . PHP_EOL .3410 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .3411 "\t\t" . '{' . PHP_EOL .3412 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .3413 "\t\t" . '}' . PHP_EOL .3414 "\t" . '}' . PHP_EOL .3415 "\t" . 'public function ' . $methodName . '(... $variadic)' . PHP_EOL .3416 "\t" . '{' . PHP_EOL .3417 "\t\t" . '$arguments = func_get_args();' . PHP_EOL .3418 "\t\t" . 'if (isset($this->getMockController()->' . $methodName . ') === true)' . PHP_EOL .3419 "\t\t" . '{' . PHP_EOL .3420 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $methodName . '\', $arguments);' . PHP_EOL .3421 "\t\t\t" . 'return $return;' . PHP_EOL .3422 "\t\t" . '}' . PHP_EOL .3423 "\t\t" . 'else' . PHP_EOL .3424 "\t\t" . '{' . PHP_EOL .3425 "\t\t\t" . '$this->getMockController()->addCall(\'' . $methodName . '\', $arguments);' . PHP_EOL .3426 "\t\t\t" . '$return = call_user_func_array(\'parent::' . $methodName . '\', $arguments);' . PHP_EOL .3427 "\t\t\t" . 'return $return;' . PHP_EOL .3428 "\t\t" . '}' . PHP_EOL .3429 "\t" . '}' . PHP_EOL .3430 "\t" . 'public static function getMockedMethods()' . PHP_EOL .3431 "\t" . '{' . PHP_EOL .3432 "\t\t" . 'return ' . var_export(['__construct', $methodName], true) . ';' . PHP_EOL .3433 "\t" . '}' . PHP_EOL .3434 '}' . PHP_EOL .3435 '}'3436 )3437 ;3438 }3439 /** @php >= 7.0 */3440 public function testGetMockedClassCodeForMethodWithTypeHint()3441 {3442 $this3443 ->if($generator = new testedClass())3444 ->and($reflectionParameterController = new mock\controller())3445 ->and($reflectionParameterController->__construct = function () {3446 })3447 ->and($reflectionParameterController->isArray = false)3448 ->and($reflectionParameterController->isCallable = false)3449 ->and($reflectionParameterController->getName = 'typeHint')3450 ->and($reflectionParameterController->isPassedByReference = false)3451 ->and($reflectionParameterController->isDefaultValueAvailable = false)3452 ->and($reflectionParameterController->isOptional = false)3453 ->and($reflectionParameterController->isVariadic = false)3454 ->and($reflectionParameterController->getClass = null)3455 ->and($reflectionParameterController->hasType = true)3456 ->and($reflectionParameterController->getType = 'string')3457 ->and($reflectionParameterController->allowsNull = false)3458 ->and($reflectionParameter = new \mock\reflectionParameter(null, null))3459 ->and($reflectionMethodController = new mock\controller())3460 ->and($reflectionMethodController->__construct = function () {3461 })3462 ->and($reflectionMethodController->getName = $methodName = uniqid())3463 ->and($reflectionMethodController->isConstructor = false)3464 ->and($reflectionMethodController->getParameters = [$reflectionParameter])3465 ->and($reflectionMethodController->isPublic = true)3466 ->and($reflectionMethodController->isProtected = false)3467 ->and($reflectionMethodController->isPrivate = false)3468 ->and($reflectionMethodController->isFinal = false)3469 ->and($reflectionMethodController->isStatic = false)3470 ->and($reflectionMethodController->isAbstract = false)3471 ->and($reflectionMethodController->returnsReference = false)3472 ->and($reflectionMethodController->hasReturnType = false)3473 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))3474 ->and($reflectionClassController = new mock\controller())3475 ->and($reflectionClassController->__construct = function () {3476 })3477 ->and($reflectionClassController->getName = function () use (& $realClass) {3478 return $realClass;3479 })3480 ->and($reflectionClassController->isFinal = false)3481 ->and($reflectionClassController->isInterface = false)3482 ->and($reflectionClassController->getMethods = [$reflectionMethod])3483 ->and($reflectionClassController->getConstructor = null)3484 ->and($reflectionClassController->isAbstract = false)3485 ->and($reflectionClass = new \mock\reflectionClass(null))3486 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {3487 return $reflectionClass;3488 }))3489 ->and($adapter = new atoum\test\adapter())3490 ->and($adapter->class_exists = function ($class) use (& $realClass) {3491 return ($class == '\\' . $realClass);3492 })3493 ->and($generator->setAdapter($adapter))3494 ->then3495 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(3496 'namespace mock {' . PHP_EOL .3497 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .3498 '{' . PHP_EOL .3499 $this->getMockControllerMethods() .3500 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .3501 "\t" . '{' . PHP_EOL .3502 "\t\t" . 'if ($mockController === null)' . PHP_EOL .3503 "\t\t" . '{' . PHP_EOL .3504 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .3505 "\t\t" . '}' . PHP_EOL .3506 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .3507 "\t\t" . '{' . PHP_EOL .3508 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .3509 "\t\t" . '}' . PHP_EOL .3510 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .3511 "\t\t" . '{' . PHP_EOL .3512 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .3513 "\t\t" . '}' . PHP_EOL .3514 "\t" . '}' . PHP_EOL .3515 "\t" . 'public function ' . $methodName . '(string $typeHint)' . PHP_EOL .3516 "\t" . '{' . PHP_EOL .3517 "\t\t" . '$arguments = array_merge(array($typeHint), array_slice(func_get_args(), 1));' . PHP_EOL .3518 "\t\t" . 'if (isset($this->getMockController()->' . $methodName . ') === true)' . PHP_EOL .3519 "\t\t" . '{' . PHP_EOL .3520 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $methodName . '\', $arguments);' . PHP_EOL .3521 "\t\t\t" . 'return $return;' . PHP_EOL .3522 "\t\t" . '}' . PHP_EOL .3523 "\t\t" . 'else' . PHP_EOL .3524 "\t\t" . '{' . PHP_EOL .3525 "\t\t\t" . '$this->getMockController()->addCall(\'' . $methodName . '\', $arguments);' . PHP_EOL .3526 "\t\t\t" . '$return = call_user_func_array(\'parent::' . $methodName . '\', $arguments);' . PHP_EOL .3527 "\t\t\t" . 'return $return;' . PHP_EOL .3528 "\t\t" . '}' . PHP_EOL .3529 "\t" . '}' . PHP_EOL .3530 "\t" . 'public static function getMockedMethods()' . PHP_EOL .3531 "\t" . '{' . PHP_EOL .3532 "\t\t" . 'return ' . var_export(['__construct', $methodName], true) . ';' . PHP_EOL .3533 "\t" . '}' . PHP_EOL .3534 '}' . PHP_EOL .3535 '}'3536 )3537 ;3538 }3539 /**3540 * @php < 7.13541 * @php >= 7.03542 */3543 public function testGetMockedClassCodeForMethodWithTypeHintNullable()3544 {3545 $this3546 ->if($generator = new testedClass())3547 ->and($reflectionParameterController = new mock\controller())3548 ->and($reflectionParameterController->__construct = function () {3549 })3550 ->and($reflectionParameterController->isArray = false)3551 ->and($reflectionParameterController->isCallable = false)3552 ->and($reflectionParameterController->getName = 'typeHint')3553 ->and($reflectionParameterController->isPassedByReference = false)3554 ->and($reflectionParameterController->isDefaultValueAvailable = false)3555 ->and($reflectionParameterController->isOptional = false)3556 ->and($reflectionParameterController->isVariadic = false)3557 ->and($reflectionParameterController->getClass = null)3558 ->and($reflectionParameterController->hasType = true)3559 ->and($reflectionParameterController->getType = 'string')3560 ->and($reflectionParameterController->allowsNull = true)3561 ->and($reflectionParameter = new \mock\reflectionParameter(null, null))3562 ->and($reflectionMethodController = new mock\controller())3563 ->and($reflectionMethodController->__construct = function () {3564 })3565 ->and($reflectionMethodController->getName = $methodName = uniqid())3566 ->and($reflectionMethodController->isConstructor = false)3567 ->and($reflectionMethodController->getParameters = [$reflectionParameter])3568 ->and($reflectionMethodController->isPublic = true)3569 ->and($reflectionMethodController->isProtected = false)3570 ->and($reflectionMethodController->isPrivate = false)3571 ->and($reflectionMethodController->isFinal = false)3572 ->and($reflectionMethodController->isStatic = false)3573 ->and($reflectionMethodController->isAbstract = false)3574 ->and($reflectionMethodController->returnsReference = false)3575 ->and($reflectionMethodController->hasReturnType = false)3576 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))3577 ->and($reflectionClassController = new mock\controller())3578 ->and($reflectionClassController->__construct = function () {3579 })3580 ->and($reflectionClassController->getName = function () use (& $realClass) {3581 return $realClass;3582 })3583 ->and($reflectionClassController->isFinal = false)3584 ->and($reflectionClassController->isInterface = false)3585 ->and($reflectionClassController->getMethods = [$reflectionMethod])3586 ->and($reflectionClassController->getConstructor = null)3587 ->and($reflectionClassController->isAbstract = false)3588 ->and($reflectionClass = new \mock\reflectionClass(null))3589 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {3590 return $reflectionClass;3591 }))3592 ->and($adapter = new atoum\test\adapter())3593 ->and($adapter->class_exists = function ($class) use (& $realClass) {3594 return ($class == '\\' . $realClass);3595 })3596 ->and($generator->setAdapter($adapter))3597 ->then3598 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(3599 'namespace mock {' . PHP_EOL .3600 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .3601 '{' . PHP_EOL .3602 $this->getMockControllerMethods() .3603 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .3604 "\t" . '{' . PHP_EOL .3605 "\t\t" . 'if ($mockController === null)' . PHP_EOL .3606 "\t\t" . '{' . PHP_EOL .3607 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .3608 "\t\t" . '}' . PHP_EOL .3609 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .3610 "\t\t" . '{' . PHP_EOL .3611 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .3612 "\t\t" . '}' . PHP_EOL .3613 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .3614 "\t\t" . '{' . PHP_EOL .3615 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .3616 "\t\t" . '}' . PHP_EOL .3617 "\t" . '}' . PHP_EOL .3618 "\t" . 'public function ' . $methodName . '(string $typeHint)' . PHP_EOL .3619 "\t" . '{' . PHP_EOL .3620 "\t\t" . '$arguments = array_merge(array($typeHint), array_slice(func_get_args(), 1));' . PHP_EOL .3621 "\t\t" . 'if (isset($this->getMockController()->' . $methodName . ') === true)' . PHP_EOL .3622 "\t\t" . '{' . PHP_EOL .3623 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $methodName . '\', $arguments);' . PHP_EOL .3624 "\t\t\t" . 'return $return;' . PHP_EOL .3625 "\t\t" . '}' . PHP_EOL .3626 "\t\t" . 'else' . PHP_EOL .3627 "\t\t" . '{' . PHP_EOL .3628 "\t\t\t" . '$this->getMockController()->addCall(\'' . $methodName . '\', $arguments);' . PHP_EOL .3629 "\t\t\t" . '$return = call_user_func_array(\'parent::' . $methodName . '\', $arguments);' . PHP_EOL .3630 "\t\t\t" . 'return $return;' . PHP_EOL .3631 "\t\t" . '}' . PHP_EOL .3632 "\t" . '}' . PHP_EOL .3633 "\t" . 'public static function getMockedMethods()' . PHP_EOL .3634 "\t" . '{' . PHP_EOL .3635 "\t\t" . 'return ' . var_export(['__construct', $methodName], true) . ';' . PHP_EOL .3636 "\t" . '}' . PHP_EOL .3637 '}' . PHP_EOL .3638 '}'3639 )3640 ;3641 }3642 /** @php >= 7.1 */3643 public function testGetMockedClassCodeForMethodWithTypeHintNullablePHP71()3644 {3645 $this3646 ->if($generator = new testedClass())3647 ->and($reflectionParameterController = new mock\controller())3648 ->and($reflectionParameterController->__construct = function () {3649 })3650 ->and($reflectionParameterController->isArray = false)3651 ->and($reflectionParameterController->isCallable = false)3652 ->and($reflectionParameterController->getName = 'typeHint')3653 ->and($reflectionParameterController->isPassedByReference = false)3654 ->and($reflectionParameterController->isDefaultValueAvailable = false)3655 ->and($reflectionParameterController->isOptional = false)3656 ->and($reflectionParameterController->isVariadic = false)3657 ->and($reflectionParameterController->getClass = null)3658 ->and($reflectionParameterController->hasType = true)3659 ->and($reflectionParameterController->getType = 'string')3660 ->and($reflectionParameterController->allowsNull = true)3661 ->and($reflectionParameter = new \mock\reflectionParameter(null, null))3662 ->and($reflectionMethodController = new mock\controller())3663 ->and($reflectionMethodController->__construct = function () {3664 })3665 ->and($reflectionMethodController->getName = $methodName = uniqid())3666 ->and($reflectionMethodController->isConstructor = false)3667 ->and($reflectionMethodController->getParameters = [$reflectionParameter])3668 ->and($reflectionMethodController->isPublic = true)3669 ->and($reflectionMethodController->isProtected = false)3670 ->and($reflectionMethodController->isPrivate = false)3671 ->and($reflectionMethodController->isFinal = false)3672 ->and($reflectionMethodController->isStatic = false)3673 ->and($reflectionMethodController->isAbstract = false)3674 ->and($reflectionMethodController->returnsReference = false)3675 ->and($reflectionMethodController->hasReturnType = false)3676 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))3677 ->and($reflectionClassController = new mock\controller())3678 ->and($reflectionClassController->__construct = function () {3679 })3680 ->and($reflectionClassController->getName = function () use (& $realClass) {3681 return $realClass;3682 })3683 ->and($reflectionClassController->isFinal = false)3684 ->and($reflectionClassController->isInterface = false)3685 ->and($reflectionClassController->getMethods = [$reflectionMethod])3686 ->and($reflectionClassController->getConstructor = null)3687 ->and($reflectionClassController->isAbstract = false)3688 ->and($reflectionClass = new \mock\reflectionClass(null))3689 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {3690 return $reflectionClass;3691 }))3692 ->and($adapter = new atoum\test\adapter())3693 ->and($adapter->class_exists = function ($class) use (& $realClass) {3694 return ($class == '\\' . $realClass);3695 })3696 ->and($generator->setAdapter($adapter))3697 ->then3698 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(3699 'namespace mock {' . PHP_EOL .3700 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .3701 '{' . PHP_EOL .3702 $this->getMockControllerMethods() .3703 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .3704 "\t" . '{' . PHP_EOL .3705 "\t\t" . 'if ($mockController === null)' . PHP_EOL .3706 "\t\t" . '{' . PHP_EOL .3707 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .3708 "\t\t" . '}' . PHP_EOL .3709 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .3710 "\t\t" . '{' . PHP_EOL .3711 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .3712 "\t\t" . '}' . PHP_EOL .3713 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .3714 "\t\t" . '{' . PHP_EOL .3715 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .3716 "\t\t" . '}' . PHP_EOL .3717 "\t" . '}' . PHP_EOL .3718 "\t" . 'public function ' . $methodName . '(?string $typeHint)' . PHP_EOL .3719 "\t" . '{' . PHP_EOL .3720 "\t\t" . '$arguments = array_merge(array($typeHint), array_slice(func_get_args(), 1));' . PHP_EOL .3721 "\t\t" . 'if (isset($this->getMockController()->' . $methodName . ') === true)' . PHP_EOL .3722 "\t\t" . '{' . PHP_EOL .3723 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $methodName . '\', $arguments);' . PHP_EOL .3724 "\t\t\t" . 'return $return;' . PHP_EOL .3725 "\t\t" . '}' . PHP_EOL .3726 "\t\t" . 'else' . PHP_EOL .3727 "\t\t" . '{' . PHP_EOL .3728 "\t\t\t" . '$this->getMockController()->addCall(\'' . $methodName . '\', $arguments);' . PHP_EOL .3729 "\t\t\t" . '$return = call_user_func_array(\'parent::' . $methodName . '\', $arguments);' . PHP_EOL .3730 "\t\t\t" . 'return $return;' . PHP_EOL .3731 "\t\t" . '}' . PHP_EOL .3732 "\t" . '}' . PHP_EOL .3733 "\t" . 'public static function getMockedMethods()' . PHP_EOL .3734 "\t" . '{' . PHP_EOL .3735 "\t\t" . 'return ' . var_export(['__construct', $methodName], true) . ';' . PHP_EOL .3736 "\t" . '}' . PHP_EOL .3737 '}' . PHP_EOL .3738 '}'3739 )3740 ;3741 }3742 /** @php >= 7.0 */3743 public function testGetMockedClassCodeForMethodWithReturnType()3744 {3745 $this3746 ->if($generator = new testedClass())3747 ->and($reflectionTypeController = new mock\controller())3748 ->and($reflectionTypeController->__construct = function () {3749 })3750 ->and($reflectionTypeController->isBuiltin = true)3751 ->and($reflectionTypeController->allowsNull = false)3752 ->and($reflectionTypeController->__toString = $returnType = 'string')3753 ->and($reflectionType = new \mock\reflectionType())3754 ->and($reflectionMethodController = new mock\controller())3755 ->and($reflectionMethodController->__construct = function () {3756 })3757 ->and($reflectionMethodController->getName = $methodName = uniqid())3758 ->and($reflectionMethodController->isConstructor = false)3759 ->and($reflectionMethodController->getParameters = [])3760 ->and($reflectionMethodController->isPublic = true)3761 ->and($reflectionMethodController->isProtected = false)3762 ->and($reflectionMethodController->isPrivate = false)3763 ->and($reflectionMethodController->isFinal = false)3764 ->and($reflectionMethodController->isStatic = false)3765 ->and($reflectionMethodController->isAbstract = false)3766 ->and($reflectionMethodController->returnsReference = false)3767 ->and($reflectionMethodController->hasReturnType = true)3768 ->and($reflectionMethodController->getReturnType = $reflectionType)3769 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))3770 ->and($reflectionClassController = new mock\controller())3771 ->and($reflectionClassController->__construct = function () {3772 })3773 ->and($reflectionClassController->getName = function () use (& $realClass) {3774 return $realClass;3775 })3776 ->and($reflectionClassController->isFinal = false)3777 ->and($reflectionClassController->isInterface = false)3778 ->and($reflectionClassController->getMethods = [$reflectionMethod])3779 ->and($reflectionClassController->getConstructor = null)3780 ->and($reflectionClassController->isAbstract = false)3781 ->and($reflectionClass = new \mock\reflectionClass(null))3782 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {3783 return $reflectionClass;3784 }))3785 ->and($adapter = new atoum\test\adapter())3786 ->and($adapter->class_exists = function ($class) use (& $realClass) {3787 return ($class == '\\' . $realClass);3788 })3789 ->and($generator->setAdapter($adapter))3790 ->then3791 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(3792 'namespace mock {' . PHP_EOL .3793 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .3794 '{' . PHP_EOL .3795 $this->getMockControllerMethods() .3796 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .3797 "\t" . '{' . PHP_EOL .3798 "\t\t" . 'if ($mockController === null)' . PHP_EOL .3799 "\t\t" . '{' . PHP_EOL .3800 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .3801 "\t\t" . '}' . PHP_EOL .3802 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .3803 "\t\t" . '{' . PHP_EOL .3804 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .3805 "\t\t" . '}' . PHP_EOL .3806 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .3807 "\t\t" . '{' . PHP_EOL .3808 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .3809 "\t\t" . '}' . PHP_EOL .3810 "\t" . '}' . PHP_EOL .3811 "\t" . 'public function ' . $methodName . '(): ' . $returnType . PHP_EOL .3812 "\t" . '{' . PHP_EOL .3813 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .3814 "\t\t" . 'if (isset($this->getMockController()->' . $methodName . ') === true)' . PHP_EOL .3815 "\t\t" . '{' . PHP_EOL .3816 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $methodName . '\', $arguments);' . PHP_EOL .3817 "\t\t\t" . 'return $return;' . PHP_EOL .3818 "\t\t" . '}' . PHP_EOL .3819 "\t\t" . 'else' . PHP_EOL .3820 "\t\t" . '{' . PHP_EOL .3821 "\t\t\t" . '$this->getMockController()->addCall(\'' . $methodName . '\', $arguments);' . PHP_EOL .3822 "\t\t\t" . '$return = call_user_func_array(\'parent::' . $methodName . '\', $arguments);' . PHP_EOL .3823 "\t\t\t" . 'return $return;' . PHP_EOL .3824 "\t\t" . '}' . PHP_EOL .3825 "\t" . '}' . PHP_EOL .3826 "\t" . 'public static function getMockedMethods()' . PHP_EOL .3827 "\t" . '{' . PHP_EOL .3828 "\t\t" . 'return ' . var_export(['__construct', $methodName], true) . ';' . PHP_EOL .3829 "\t" . '}' . PHP_EOL .3830 '}' . PHP_EOL .3831 '}'3832 )3833 ;3834 }3835 /** @php >= 7.0 */3836 public function testGetMockedClassCodeForMethodWithReservedWord()3837 {3838 $this3839 ->if($generator = new testedClass())3840 ->and($reflectionMethodController = new mock\controller())3841 ->and($reflectionMethodController->__construct = function () {3842 })3843 ->and($reflectionMethodController->getName = $methodName = 'list')3844 ->and($reflectionMethodController->isConstructor = false)3845 ->and($reflectionMethodController->getParameters = [])3846 ->and($reflectionMethodController->isPublic = true)3847 ->and($reflectionMethodController->isProtected = false)3848 ->and($reflectionMethodController->isPrivate = false)3849 ->and($reflectionMethodController->isFinal = false)3850 ->and($reflectionMethodController->isStatic = false)3851 ->and($reflectionMethodController->isAbstract = false)3852 ->and($reflectionMethodController->returnsReference = false)3853 ->and($reflectionMethodController->hasReturnType = false)3854 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))3855 ->and($reflectionClassController = new mock\controller())3856 ->and($reflectionClassController->__construct = function () {3857 })3858 ->and($reflectionClassController->getName = function () use (& $realClass) {3859 return $realClass;3860 })3861 ->and($reflectionClassController->isFinal = false)3862 ->and($reflectionClassController->isInterface = false)3863 ->and($reflectionClassController->getMethods = [$reflectionMethod])3864 ->and($reflectionClassController->getConstructor = null)3865 ->and($reflectionClassController->isAbstract = false)3866 ->and($reflectionClass = new \mock\reflectionClass(null))3867 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {3868 return $reflectionClass;3869 }))3870 ->and($adapter = new atoum\test\adapter())3871 ->and($adapter->class_exists = function ($class) use (& $realClass) {3872 return ($class == '\\' . $realClass);3873 })3874 ->and($generator->setAdapter($adapter))3875 ->then3876 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(3877 'namespace mock {' . PHP_EOL .3878 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .3879 '{' . PHP_EOL .3880 $this->getMockControllerMethods() .3881 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .3882 "\t" . '{' . PHP_EOL .3883 "\t\t" . 'if ($mockController === null)' . PHP_EOL .3884 "\t\t" . '{' . PHP_EOL .3885 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .3886 "\t\t" . '}' . PHP_EOL .3887 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .3888 "\t\t" . '{' . PHP_EOL .3889 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .3890 "\t\t" . '}' . PHP_EOL .3891 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .3892 "\t\t" . '{' . PHP_EOL .3893 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .3894 "\t\t" . '}' . PHP_EOL .3895 "\t" . '}' . PHP_EOL .3896 "\t" . 'public function ' . $methodName . '()' . PHP_EOL .3897 "\t" . '{' . PHP_EOL .3898 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .3899 "\t\t" . 'if (isset($this->getMockController()->' . $methodName . ') === true)' . PHP_EOL .3900 "\t\t" . '{' . PHP_EOL .3901 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $methodName . '\', $arguments);' . PHP_EOL .3902 "\t\t\t" . 'return $return;' . PHP_EOL .3903 "\t\t" . '}' . PHP_EOL .3904 "\t\t" . 'else' . PHP_EOL .3905 "\t\t" . '{' . PHP_EOL .3906 "\t\t\t" . '$this->getMockController()->addCall(\'' . $methodName . '\', $arguments);' . PHP_EOL .3907 "\t\t\t" . '$return = call_user_func_array(\'parent::' . $methodName . '\', $arguments);' . PHP_EOL .3908 "\t\t\t" . 'return $return;' . PHP_EOL .3909 "\t\t" . '}' . PHP_EOL .3910 "\t" . '}' . PHP_EOL .3911 "\t" . 'public static function getMockedMethods()' . PHP_EOL .3912 "\t" . '{' . PHP_EOL .3913 "\t\t" . 'return ' . var_export(['__construct', $methodName], true) . ';' . PHP_EOL .3914 "\t" . '}' . PHP_EOL .3915 '}' . PHP_EOL .3916 '}'3917 )3918 ;3919 }3920 /** @php >= 7.0 */3921 public function testGetMockedClassCodeForMethodWithSelfReturnType()3922 {3923 $this3924 ->if($generator = new testedClass())3925 ->and($reflectionTypeController = new mock\controller())3926 ->and($reflectionTypeController->__construct = function () {3927 })3928 ->and($reflectionTypeController->__toString = 'self')3929 ->and($reflectionTypeController->isBuiltIn = false)3930 ->and($reflectionTypeController->allowsNull = false)3931 ->and($reflectionType = new \mock\reflectionType())3932 ->and($reflectionMethodController = new mock\controller())3933 ->and($reflectionMethodController->__construct = function () {3934 })3935 ->and($reflectionMethodController->getName = $methodName = 'returnSelf')3936 ->and($reflectionMethodController->isConstructor = false)3937 ->and($reflectionMethodController->getParameters = [])3938 ->and($reflectionMethodController->isPublic = true)3939 ->and($reflectionMethodController->isProtected = false)3940 ->and($reflectionMethodController->isPrivate = false)3941 ->and($reflectionMethodController->isFinal = false)3942 ->and($reflectionMethodController->isStatic = false)3943 ->and($reflectionMethodController->isAbstract = false)3944 ->and($reflectionMethodController->returnsReference = false)3945 ->and($reflectionMethodController->hasReturnType = true)3946 ->and($reflectionMethodController->getReturnType = $reflectionType)3947 ->and($reflectionMethod = new \mock\reflectionMethod(null, null))3948 ->and($reflectionClassController = new mock\controller())3949 ->and($reflectionClassController->__construct = function () {3950 })3951 ->and($reflectionClassController->getName = function () use (& $realClass) {3952 return $realClass;3953 })3954 ->and($reflectionClassController->isFinal = false)3955 ->and($reflectionClassController->isInterface = false)3956 ->and($reflectionClassController->getMethods = [$reflectionMethod])3957 ->and($reflectionClassController->getConstructor = null)3958 ->and($reflectionClassController->isAbstract = false)3959 ->and($reflectionClass = new \mock\reflectionClass(null))3960 ->and($reflectionMethodController->getDeclaringClass = $reflectionClass)3961 ->and($generator->setReflectionClassFactory(function () use ($reflectionClass) {3962 return $reflectionClass;3963 }))3964 ->and($adapter = new atoum\test\adapter())3965 ->and($adapter->class_exists = function ($class) use (& $realClass) {3966 return ($class == '\\' . $realClass);3967 })3968 ->and($generator->setAdapter($adapter))3969 ->string($generator->getMockedClassCode($realClass = uniqid()))->isEqualTo(3970 'namespace mock {' . PHP_EOL .3971 'final class ' . $realClass . ' extends \\' . $realClass . ' implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .3972 '{' . PHP_EOL .3973 $this->getMockControllerMethods() .3974 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .3975 "\t" . '{' . PHP_EOL .3976 "\t\t" . 'if ($mockController === null)' . PHP_EOL .3977 "\t\t" . '{' . PHP_EOL .3978 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .3979 "\t\t" . '}' . PHP_EOL .3980 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .3981 "\t\t" . '{' . PHP_EOL .3982 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .3983 "\t\t" . '}' . PHP_EOL .3984 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .3985 "\t\t" . '{' . PHP_EOL .3986 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .3987 "\t\t" . '}' . PHP_EOL .3988 "\t" . '}' . PHP_EOL .3989 "\t" . 'public function ' . $methodName . '(): \\' . $realClass . PHP_EOL .3990 "\t" . '{' . PHP_EOL .3991 "\t\t" . '$arguments = array_merge(array(), array_slice(func_get_args(), 0));' . PHP_EOL .3992 "\t\t" . 'if (isset($this->getMockController()->' . $methodName . ') === true)' . PHP_EOL .3993 "\t\t" . '{' . PHP_EOL .3994 "\t\t\t" . '$return = $this->getMockController()->invoke(\'' . $methodName . '\', $arguments);' . PHP_EOL .3995 "\t\t\t" . 'return $return;' . PHP_EOL .3996 "\t\t" . '}' . PHP_EOL .3997 "\t\t" . 'else' . PHP_EOL .3998 "\t\t" . '{' . PHP_EOL .3999 "\t\t\t" . '$this->getMockController()->addCall(\'' . $methodName . '\', $arguments);' . PHP_EOL .4000 "\t\t\t" . '$return = call_user_func_array(\'parent::' . $methodName . '\', $arguments);' . PHP_EOL .4001 "\t\t\t" . 'return $return;' . PHP_EOL .4002 "\t\t" . '}' . PHP_EOL .4003 "\t" . '}' . PHP_EOL .4004 "\t" . 'public static function getMockedMethods()' . PHP_EOL .4005 "\t" . '{' . PHP_EOL .4006 "\t\t" . 'return ' . var_export(['__construct', strtolower($methodName)], true) . ';' . PHP_EOL .4007 "\t" . '}' . PHP_EOL .4008 '}' . PHP_EOL .4009 '}'4010 )4011 ;4012 }4013 public function testGenerateWithEachInstanceIsUnique()4014 {4015 $this4016 ->if($generator = new testedClass())4017 ->and($generator->eachInstanceIsUnique())4018 ->then4019 ->string($generator->getMockedClassCode(__NAMESPACE__ . '\mockable'))->isEqualTo(4020 'namespace mock\\' . __NAMESPACE__ . ' {' . PHP_EOL .4021 'final class mockable extends \\' . __NAMESPACE__ . '\mockable implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .4022 '{' . PHP_EOL .4023 $this->getMockControllerMethods() .4024 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .4025 "\t" . '{' . PHP_EOL .4026 "\t\t" . '$this->{\'mock\' . uniqid()} = true;' . PHP_EOL .4027 "\t\t" . 'if ($mockController === null)' . PHP_EOL .4028 "\t\t" . '{' . PHP_EOL .4029 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .4030 "\t\t" . '}' . PHP_EOL .4031 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .4032 "\t\t" . '{' . PHP_EOL .4033 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .4034 "\t\t" . '}' . PHP_EOL .4035 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .4036 "\t\t" . '{' . PHP_EOL .4037 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .4038 "\t\t" . '}' . PHP_EOL .4039 "\t" . '}' . PHP_EOL .4040 "\t" . 'public static function getMockedMethods()' . PHP_EOL .4041 "\t" . '{' . PHP_EOL .4042 "\t\t" . 'return ' . var_export(['__construct'], true) . ';' . PHP_EOL .4043 "\t" . '}' . PHP_EOL .4044 '}' . PHP_EOL .4045 '}'4046 )4047 ;4048 }4049 /** @php >= 7.0 */4050 public function testGenerateUsingStrictTypes()4051 {4052 $this4053 ->if($generator = new testedClass())4054 ->and($generator->useStrictTypes())4055 ->then4056 ->string($generator->getMockedClassCode(__NAMESPACE__ . '\classWithScalarTypeHints'))->isEqualTo(4057 'declare(strict_types=1);' . PHP_EOL .4058 'namespace mock\\' . __NAMESPACE__ . ' {' . PHP_EOL .4059 'final class classWithScalarTypeHints extends \\' . __NAMESPACE__ . '\classWithScalarTypeHints implements \mageekguy\atoum\mock\aggregator' . PHP_EOL .4060 '{' . PHP_EOL .4061 $this->getMockControllerMethods() .4062 "\t" . 'public function __construct(\mageekguy\atoum\mock\controller $mockController = null)' . PHP_EOL .4063 "\t" . '{' . PHP_EOL .4064 "\t\t" . 'if ($mockController === null)' . PHP_EOL .4065 "\t\t" . '{' . PHP_EOL .4066 "\t\t\t" . '$mockController = \mageekguy\atoum\mock\controller::get();' . PHP_EOL .4067 "\t\t" . '}' . PHP_EOL .4068 "\t\t" . 'if ($mockController !== null)' . PHP_EOL .4069 "\t\t" . '{' . PHP_EOL .4070 "\t\t\t" . '$this->setMockController($mockController);' . PHP_EOL .4071 "\t\t" . '}' . PHP_EOL .4072 "\t\t" . 'if (isset($this->getMockController()->__construct) === true)' . PHP_EOL .4073 "\t\t" . '{' . PHP_EOL .4074 "\t\t\t" . '$this->getMockController()->invoke(\'__construct\', func_get_args());' . PHP_EOL .4075 "\t\t" . '}' . PHP_EOL .4076 "\t" . '}' . PHP_EOL .4077 "\t" . 'public function foo(int $bar): int' . PHP_EOL .4078 "\t" . '{' . PHP_EOL .4079 "\t\t" . '$arguments = array_merge(array($bar), array_slice(func_get_args(), 1));' . PHP_EOL .4080 "\t\t" . 'if (isset($this->getMockController()->foo) === true)' . PHP_EOL .4081 "\t\t" . '{' . PHP_EOL .4082 "\t\t\t" . '$return = $this->getMockController()->invoke(\'foo\', $arguments);' . PHP_EOL .4083 "\t\t\t" . 'return $return;' . PHP_EOL .4084 "\t\t" . '}' . PHP_EOL .4085 "\t\t" . 'else' . PHP_EOL .4086 "\t\t" . '{' . PHP_EOL .4087 "\t\t\t" . '$this->getMockController()->addCall(\'foo\', $arguments);' . PHP_EOL .4088 "\t\t\t" . '$return = call_user_func_array(\'parent::foo\', $arguments);' . PHP_EOL .4089 "\t\t\t" . 'return $return;' . PHP_EOL .4090 "\t\t" . '}' . PHP_EOL .4091 "\t" . '}' . PHP_EOL .4092 "\t" . 'public static function getMockedMethods()' . PHP_EOL .4093 "\t" . '{' . PHP_EOL .4094 "\t\t" . 'return ' . var_export(['__construct', 'foo'], true) . ';' . PHP_EOL .4095 "\t" . '}' . PHP_EOL .4096 '}' . PHP_EOL .4097 '}'4098 )4099 ;4100 }4101 protected function getMockControllerMethods()4102 {4103 return4104 "\t" . 'public function getMockController()' . PHP_EOL .4105 "\t" . '{' . PHP_EOL .4106 "\t\t" . '$mockController = \mageekguy\atoum\mock\controller::getForMock($this);' . PHP_EOL .4107 "\t\t" . 'if ($mockController === null)' . PHP_EOL .4108 "\t\t" . '{' . PHP_EOL .4109 "\t\t\t" . '$this->setMockController($mockController = new \mageekguy\atoum\mock\controller());' . PHP_EOL .4110 "\t\t" . '}' . PHP_EOL .4111 "\t\t" . 'return $mockController;' . PHP_EOL .4112 "\t" . '}' . PHP_EOL .4113 "\t" . 'public function setMockController(\mageekguy\atoum\mock\controller $controller)' . PHP_EOL .4114 "\t" . '{' . PHP_EOL .4115 "\t\t" . 'return $controller->control($this);' . PHP_EOL .4116 "\t" . '}' . PHP_EOL .4117 "\t" . 'public function resetMockController()' . PHP_EOL .4118 "\t" . '{' . PHP_EOL .4119 "\t\t" . '\mageekguy\atoum\mock\controller::getForMock($this)->reset();' . PHP_EOL .4120 "\t\t" . 'return $this;' . PHP_EOL .4121 "\t" . '}' . PHP_EOL4122 ;4123 }4124 protected function testMethodIsMockableWithReservedWordDataProvider()4125 {4126 # See http://www.php.net/manual/en/reserved.keywords.php4127 return [4128 '__halt_compiler',4129 'abstract',4130 'and',4131 'array',4132 'as',4133 'break',4134 'callable',4135 'case',4136 'catch',4137 'class',4138 'clone',4139 'const',4140 'continue',4141 'declare',4142 'default',4143 'die',4144 'do',4145 'echo',4146 'else',4147 'elseif',4148 'empty',4149 'enddeclare',4150 'endfor',4151 'endforeach',4152 'endif',4153 'endswitch',4154 'endwhile',4155 'eval',4156 'exit',4157 'extends',4158 'final',4159 'for',4160 'foreach',4161 'function',4162 'global',4163 'goto',4164 'if',4165 'implements',4166 'include',4167 'include_once',4168 'instanceof',4169 'insteadof',4170 'interface',4171 'isset',4172 'list',4173 'namespace',4174 'new',4175 'or',4176 'print',4177 'private',4178 'protected',4179 'public',4180 'require',4181 'require_once',4182 'return',4183 'static',4184 'switch',4185 'throw',4186 'trait',4187 'try',4188 'unset',4189 'use',4190 'var',4191 'while',4192 'xor'4193 ];4194 }4195 protected function testMethodIsMockableWithReservedWordPHP7DataProvider()4196 {4197 # See http://www.php.net/manual/en/reserved.keywords.php4198 return [4199 '__halt_compiler',4200 ];4201 }4202}4203class mockable4204{4205}4206if (version_compare(PHP_VERSION, '5.6.0', '>=')) {4207 eval('4208 namespace ' . __NAMESPACE__ . ';4209 class foo4210 {4211 }4212 class classWithVariadicInConstructor4213 {4214 public function __construct(foo... $foo)4215 {4216 }4217 }4218 ');4219}4220if (version_compare(PHP_VERSION, '7.0.0', '>=')) {4221 eval('4222 namespace ' . __NAMESPACE__ . ';4223 4224 class classWithScalarTypeHints4225 {4226 public function foo(int $bar) : int 4227 {4228 return $bar * 2;...

Full Screen

Full Screen

type-hint-for-new-class-methods-rule-exclusion-list.php

Source:type-hint-for-new-class-methods-rule-exclusion-list.php Github

copy

Full Screen

1<?php2$baseline = [3'PrestaShopBundle\Form\Admin\Sell\Address\CustomerAddressType::__construct',4'PrestaShopBundle\Form\Admin\Sell\Order\Invoices\InvoiceOptionsType::__construct',5'PrestaShopBundle\DataCollector\HookDataCollector::unserialize',6'PrestaShopBundle\Form\Admin\Sell\Order\Invoices\InvoiceOptionsDataProvider::__construct',7'PrestaShopBundle\Form\Admin\Sell\Order\OrderMessageType::trans',8'PrestaShopBundle\Form\Admin\Sell\Order\AddOrderCartRuleType::trans',9'PrestaShopBundle\DataCollector\HookRegistry::selectHook',10'PrestaShopBundle\DataCollector\HookRegistry::hookedByCallback',11'PrestaShopBundle\DataCollector\HookRegistry::hookedByWidget',12'PrestaShopBundle\Form\Validator\Constraints\TinyMceMaxLength::__construct',13'PrestaShopBundle\Form\Validator\Constraints\TinyMceMaxLengthValidator::validate',14'PrestaShopBundle\Form\Admin\Sell\Address\ManufacturerAddressType::__construct',15'PrestaShopBundle\Form\Admin\Sell\Product\DataTransformer\TypeaheadRedirectionTargetTransformer::transform',16'PrestaShopBundle\Form\Admin\Sell\Product\DataTransformer\TypeaheadRedirectionTargetTransformer::reverseTransform',17'PrestaShopBundle\Form\Admin\Sell\Customer\CustomerType::__construct',18'PrestaShopBundle\Form\Admin\Sell\Manufacturer\ManufacturerType::__construct',19'PrestaShopBundle\Form\Admin\Sell\Supplier\SupplierType::__construct',20'PrestaShopBundle\Form\Admin\Sell\Catalog\FeatureType::trans',21'PrestaShopBundle\Form\Admin\Sell\Catalog\FeatureType::__construct',22'PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\Employee\EmployeeType::trans',23'PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\Employee\EmployeeType::__construct',24'PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\Employee\EmployeeType::getLengthConstraint',25'PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\Employee\EmployeeOptionsType::__construct',26'PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\RequestSql\SqlRequestType::trans',27'PrestaShopBundle\Form\Admin\Sell\Order\Invoices\InvoiceByDateFormHandler::__construct',28'PrestaShopBundle\Form\Admin\Category\SimpleCategory::__construct',29'PrestaShopBundle\Form\Admin\Category\SimpleCategory::formatValidList',30'PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\RequestSql\SqlRequestFormDataProvider::getData',31'PrestaShopBundle\Form\Admin\Sell\Order\Invoices\InvoiceByStatusFormHandler::__construct',32'PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\Webservice\WebserviceKeyType::__construct',33'PrestaShopBundle\Form\Admin\Configure\ShopParameters\OrderPreferences\GeneralType::__construct',34'PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\Import\ImportFormHandler::__construct',35'PrestaShopBundle\Form\Admin\Configure\ShopParameters\OrderPreferences\GiftOptionsType::__construct',36'PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\Import\ImportDataConfigurationFormDataProvider::configurationNameExists',37'PrestaShopBundle\Form\Admin\Configure\ShopParameters\CustomerPreferences\CustomerPreferencesFormHandler::handleB2bUpdate',38'PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\RequestSql\SqlRequestFormHandler::getFormFor',39'PrestaShopBundle\Form\Admin\Product\ProductWarehouseCombination::__construct',40'PrestaShopBundle\Form\Admin\Product\ProductSeo::__construct',41'PrestaShopBundle\Form\Admin\Configure\ShopParameters\TrafficSeo\Meta\UrlSchemaType::getKeywords',42'PrestaShopBundle\Form\Admin\AdvancedParameters\Performance\OptionalFeaturesType::__construct',43'PrestaShopBundle\Form\Admin\Configure\ShopParameters\TrafficSeo\Meta\SetUpUrlType::__construct',44'PrestaShopBundle\Form\Admin\Product\ProductShipping::__construct',45'PrestaShopBundle\Form\Admin\Configure\ShopParameters\TrafficSeo\Meta\MetaType::trans',46'PrestaShopBundle\Form\Admin\Product\ProductCombination::__construct',47'PrestaShopBundle\Form\Admin\Product\ProductSupplierCombination::__construct',48'PrestaShopBundle\Form\Admin\Configure\ShopParameters\Contact\ContactType::trans',49'PrestaShopBundle\Form\Admin\Product\ProductAttachement::__construct',50'PrestaShopBundle\Form\Admin\Configure\ShopParameters\Contact\ContactType::__construct',51'PrestaShopBundle\Form\Admin\Type\TypeaheadProductPackCollectionType::__construct',52'PrestaShopBundle\Form\Admin\Product\ProductInformation::__construct',53'PrestaShopBundle\Form\Admin\Type\TranslateType::__construct',54'PrestaShopBundle\Form\Admin\Product\ProductPrice::__construct',55'PrestaShopBundle\Form\Admin\Type\TextEmptyType::transform',56'PrestaShopBundle\Form\Admin\Type\TextEmptyType::reverseTransform',57'PrestaShopBundle\Form\Admin\Type\TypeaheadCustomerCollectionType::__construct',58'PrestaShopBundle\Form\Admin\Product\ProductVirtual::__construct',59'PrestaShopBundle\Form\Admin\Type\TextareaEmptyType::transform',60'PrestaShopBundle\Form\Admin\Type\TextareaEmptyType::reverseTransform',61'PrestaShopBundle\Form\Admin\Type\CommonAbstractType::formatDataChoicesList',62'PrestaShopBundle\Form\Admin\Type\CommonAbstractType::formatDataDuplicateChoicesList',63'PrestaShopBundle\Form\Admin\Product\ProductCustomField::__construct',64'PrestaShopBundle\Form\Admin\Configure\ShopParameters\General\PreferencesType::__construct',65'PrestaShopBundle\Form\Admin\Type\TranslatableType::__construct',66'PrestaShopBundle\Form\Admin\Product\ProductOptions::__construct',67'PrestaShopBundle\Form\Admin\Product\ProductQuantity::__construct',68'PrestaShopBundle\Form\Admin\Configure\ShopParameters\General\PreferencesType::setIsSecure',69'PrestaShopBundle\Form\Admin\Improve\Design\Theme\ImportThemeType::trans',70'PrestaShopBundle\Form\Admin\Improve\Design\Pages\CmsPageCategoryType::trans',71'PrestaShopBundle\Form\Admin\Improve\Design\Pages\CmsPageCategoryType::__construct',72'PrestaShopBundle\Form\Admin\Type\TypeaheadProductCollectionType::__construct',73'PrestaShopBundle\Form\Admin\Product\ProductCategories::__construct',74'PrestaShopBundle\Form\Admin\Product\ProductSpecificPrice::__construct',75'PrestaShopBundle\Form\Admin\Improve\Design\Pages\CmsPageType::__construct',76'PrestaShopBundle\Form\Admin\Type\Material\MaterialChoiceTreeType::fillChoiceWithChildrenSelection',77'PrestaShopBundle\Form\Admin\Type\CountryChoiceType::getChoiceAttr',78'PrestaShopBundle\Form\Admin\Type\ChangePasswordType::trans',79'PrestaShopBundle\Form\Admin\Type\ChangePasswordType::getLengthConstraint',80'PrestaShopBundle\Form\Admin\Type\ChangePasswordType::getMinLengthValidationMessage',81'PrestaShopBundle\Form\Admin\Type\ChangePasswordType::getMaxLengthValidationMessage',82'PrestaShopBundle\Form\Admin\Type\MoneyWithSuffixType::applySuffix',83'PrestaShopBundle\Form\Admin\Type\IntegerMinMaxFilterType::trans',84'PrestaShopBundle\Form\Admin\Feature\ProductFeature::__construct',85'PrestaShopBundle\Form\Admin\Type\NumberMinMaxFilterType::trans',86'PrestaShopBundle\Form\Admin\Feature\ProductFeature::updateValueField',87'PrestaShopBundle\Form\Admin\Type\AddonsConnectType::__construct',88'PrestaShopBundle\Form\Admin\Type\TranslatorAwareType::trans',89'PrestaShopBundle\Form\Admin\Improve\Design\Theme\ShopLogosType::__construct',90'PrestaShopBundle\Form\DataTransformer\IDNConverterDataTransformer::transform',91'PrestaShopBundle\Form\DataTransformer\IDNConverterDataTransformer::reverseTransform',92'PrestaShopBundle\Form\DataTransformer\StringArrayToIntegerArrayDataTransformer::transform',93'PrestaShopBundle\Form\DataTransformer\StringArrayToIntegerArrayDataTransformer::reverseTransform',94'PrestaShopBundle\Form\DataTransformer\ArabicToLatinDigitDataTransformer::transform',95'PrestaShopBundle\Form\DataTransformer\ArabicToLatinDigitDataTransformer::reverseTransform',96'PrestaShopBundle\Form\Admin\Improve\Design\Theme\ShopLogosType::transformMultiStoreFields',97'PrestaShopBundle\Install\DatabaseDump::__construct',98'PrestaShopBundle\Install\DatabaseDump::buildMySQLCommand',99'PrestaShopBundle\Form\Admin\Improve\Design\Theme\ShopLogosType::disableAllShopContextFields',100'PrestaShopBundle\Install\DatabaseDump::exec',101'PrestaShopBundle\Form\Admin\Improve\Design\Theme\ShopLogosType::setShopRestrictionSource',102'PrestaShopBundle\Form\Admin\Improve\Design\Theme\ShopLogosType::getShopRestrictionSourceFormFields',103'PrestaShopBundle\Form\Admin\Improve\Design\Theme\ShopLogosType::stringEndsWith',104'PrestaShopBundle\Form\Admin\Improve\Design\Theme\ShopLogosType::getOriginalFieldNameFromSuffix',105'PrestaShopBundle\Form\Admin\Improve\Design\Theme\PageLayoutCustomizationFormFactory::__construct',106'PrestaShopBundle\Form\Admin\Improve\International\Currencies\CurrencyFormDataProvider::__construct',107'PrestaShopBundle\Form\Admin\Improve\International\Currencies\CurrencyType::__construct',108'PrestaShopBundle\Translation\Constraints\PassVsprintfValidator::validate',109'PrestaShopBundle\Translation\Constraints\PassVsprintfValidator::countArgumentsOfTranslation',110'PrestaShopBundle\Translation\DataCollectorTranslator::trans',111'PrestaShopBundle\Translation\DataCollectorTranslator::getSourceString',112'PrestaShopBundle\Translation\DataCollectorTranslator::transChoice',113'PrestaShopBundle\Translation\DataCollectorTranslator::isSprintfString',114'PrestaShopBundle\Translation\DataCollectorTranslator::translateUsingLegacySystem',115'PrestaShopBundle\Translation\DataCollectorTranslator::shouldFallbackToLegacyModuleTranslation',116'PrestaShopBundle\Translation\DataCollectorTranslator::normalizeDomain',117'PrestaShopBundle\Form\Admin\Improve\International\Tax\TaxOptionsType::__construct',118'PrestaShopBundle\Translation\Translator::trans',119'PrestaShopBundle\Translation\Translator::getSourceString',120'PrestaShopBundle\Translation\Translator::transChoice',121'PrestaShopBundle\Translation\Translator::isSprintfString',122'PrestaShopBundle\Translation\Translator::translateUsingLegacySystem',123'PrestaShopBundle\Translation\Translator::shouldFallbackToLegacyModuleTranslation',124'PrestaShopBundle\Translation\Translator::normalizeDomain',125'PrestaShopBundle\Translation\Translator::isLanguageLoaded',126'PrestaShopBundle\Translation\Translator::clearLanguage',127'PrestaShopBundle\Translation\Translator::addResource',128'PrestaShopBundle\Form\DataTransformer\DefaultEmptyDataTransformer::__construct',129'PrestaShopBundle\Form\DataTransformer\DefaultEmptyDataTransformer::transform',130'PrestaShopBundle\Form\DataTransformer\DefaultEmptyDataTransformer::reverseTransform',131'PrestaShopBundle\Form\DataTransformer\DefaultLanguageToFilledArrayDataTransformer::__construct',132'PrestaShopBundle\Form\DataTransformer\DefaultLanguageToFilledArrayDataTransformer::transform',133'PrestaShopBundle\Form\DataTransformer\DefaultLanguageToFilledArrayDataTransformer::reverseTransform',134'PrestaShopBundle\Translation\Provider\ModuleProvider::setModuleName',135'PrestaShopBundle\Form\DataTransformer\DefaultLanguageToFilledArrayDataTransformer::assertIsValidForDataTransforming',136'PrestaShopBundle\Translation\Provider\UseDefaultCatalogueInterface::getDefaultCatalogue',137'PrestaShopBundle\Translation\Provider\AbstractProvider::__construct',138'PrestaShopBundle\Translation\Exception\UnsupportedLocaleException::fileNotFound',139'PrestaShopBundle\Translation\Provider\AbstractProvider::setLocale',140'PrestaShopBundle\Translation\Provider\AbstractProvider::setDomain',141'PrestaShopBundle\Translation\Exception\UnsupportedLocaleException::invalidLocale',142'PrestaShopBundle\Translation\Exception\UnsupportedModuleException::moduleNotProvided',143'PrestaShopBundle\Translation\Provider\AbstractProvider::getDefaultCatalogue',144'PrestaShopBundle\Translation\Exception\InvalidLegacyTranslationKeyException::missingElementFromKey',145'PrestaShopBundle\Translation\Exception\InvalidLegacyTranslationKeyException::setKey',146'PrestaShopBundle\Install\Install::__construct',147'PrestaShopBundle\Install\Install::setError',148'PrestaShopBundle\Translation\Provider\ThemeProvider::getResourceDirectory',149'PrestaShopBundle\Translation\Provider\AbstractProvider::getDatabaseCatalogue',150'PrestaShopBundle\Translation\TranslatorComponent::trans',151'PrestaShopBundle\Install\Install::generateSettingsFile',152'PrestaShopBundle\Translation\Provider\ThemeProvider::setThemeName',153'PrestaShopBundle\Translation\Provider\ThemeProvider::getDatabaseCatalogue',154'PrestaShopBundle\Translation\Provider\AbstractProvider::getCatalogueFromPaths',155'PrestaShopBundle\Translation\TranslatorComponent::getSourceString',156'PrestaShopBundle\Translation\Provider\DatabaseCatalogueInterface::getDatabaseCatalogue',157'PrestaShopBundle\Translation\Provider\SearchProviderInterface::setDomain',158'PrestaShopBundle\Translation\Provider\SearchProviderInterface::setLocale',159'PrestaShopBundle\Translation\TranslatorComponent::transChoice',160'PrestaShopBundle\Translation\TranslatorComponent::isSprintfString',161'PrestaShopBundle\Translation\TranslatorComponent::translateUsingLegacySystem',162'PrestaShopBundle\Translation\Extractor\ThemeExtractor::extract',163'PrestaShopBundle\Translation\TranslatorComponent::shouldFallbackToLegacyModuleTranslation',164'PrestaShopBundle\Install\Install::processParameters',165'PrestaShopBundle\Translation\TranslatorComponent::normalizeDomain',166'PrestaShopBundle\Translation\TranslatorComponent::isLanguageLoaded',167'PrestaShopBundle\Translation\TranslatorComponent::clearLanguage',168'PrestaShopBundle\Translation\Extractor\ThemeExtractor::overrideFromDefaultCatalog',169'PrestaShopBundle\Install\Install::installDatabase',170'PrestaShopBundle\Translation\Provider\FrontOfficeProvider::getDatabaseCatalogue',171'PrestaShopBundle\Translation\TranslatorLanguageLoader::__construct',172'PrestaShopBundle\Translation\Extractor\ThemeExtractor::overrideFromDatabase',173'PrestaShopBundle\Translation\TranslatorLanguageLoader::loadLanguage',174'PrestaShopBundle\Translation\Extractor\ThemeExtractor::setFormat',175'PrestaShopBundle\Translation\Provider\ExternalModuleLegacySystemProvider::__construct',176'PrestaShopBundle\Translation\Extractor\ThemeExtractor::setOutputPath',177'PrestaShopBundle\Install\Install::clearDatabase',178'PrestaShopBundle\Translation\Provider\ExternalModuleLegacySystemProvider::setModuleName',179'PrestaShopBundle\Translation\Extractor\LegacyModuleExtractor::__construct',180'PrestaShopBundle\Translation\Extractor\LegacyModuleExtractor::extract',181'PrestaShopBundle\Translation\Provider\ExternalModuleLegacySystemProvider::setDomain',182'PrestaShopBundle\Translation\Provider\ExternalModuleLegacySystemProvider::getDefaultCatalogue',183'PrestaShopBundle\Translation\Extractor\LegacyModuleExtractor::postprocessPhpCatalogue',184'PrestaShopBundle\Translation\Extractor\LegacyModuleExtractorInterface::extract',185'PrestaShopBundle\Translation\DomainNormalizer::normalize',186'PrestaShopBundle\Translation\Loader\DatabaseTranslationLoader::load',187'PrestaShopBundle\Translation\Factory\TranslationsFactoryInterface::createCatalogue',188'PrestaShopBundle\Translation\Factory\TranslationsFactoryInterface::createTranslationsArray',189'PrestaShopBundle\Translation\Factory\ThemeTranslationsFactory::createCatalogue',190'PrestaShopBundle\Translation\Factory\ThemeTranslationsFactory::createTranslationsArray',191'PrestaShopBundle\Translation\Factory\ThemeTranslationsFactory::removeLocaleFromDomain',192'PrestaShopBundle\Translation\Factory\ThemeTranslationsFactory::getFrontTranslationsForThemeAndLocale',193'PrestaShopBundle\Translation\Factory\ProviderNotFoundException::__construct',194'PrestaShopBundle\Translation\Loader\DatabaseTranslationLoader::addThemeConstraint',195'PrestaShopBundle\Translation\Loader\DatabaseTranslationLoader::addDomainConstraint',196'PrestaShopBundle\Translation\Factory\TranslationsFactory::createCatalogue',197'PrestaShopBundle\Translation\Factory\TranslationsFactory::createTranslationsArray',198'PrestaShopBundle\Translation\Loader\SqlTranslationLoader::load',199'PrestaShopBundle\Translation\Provider\SearchProvider::__construct',200'PrestaShopBundle\Translation\Provider\SearchProvider::getDefaultCatalogue',201'PrestaShopBundle\Install\Install::installDefaultData',202'PrestaShopBundle\Translation\Provider\SearchProvider::setLocale',203'PrestaShopBundle\Translation\Provider\SearchProvider::setModuleName',204'PrestaShopBundle\Translation\Provider\UseModuleInterface::setModuleName',205'PrestaShopBundle\Entity\Repository\TranslationRepository::findByLanguageAndTheme',206'PrestaShopBundle\Translation\Loader\LegacyTranslationKey::buildFromString',207'PrestaShopBundle\Entity\Repository\SupplierRepository::castNumericToInt',208'PrestaShopBundle\Install\Install::populateDatabase',209'PrestaShopBundle\Translation\Loader\LegacyTranslationKey::__construct',210'PrestaShopBundle\Entity\Repository\SupplierRepository::castIdsToArray',211'PrestaShopBundle\Entity\Repository\SupplierRepository::shouldCastToInt',212'PrestaShopBundle\Entity\Repository\SupplierRepository::__construct',213'PrestaShopBundle\Translation\Loader\LegacyFileLoader::load',214'PrestaShopBundle\Security\Admin\EmployeeProvider::loadUserByUsername',215'PrestaShopBundle\Install\Install::createShop',216'PrestaShopBundle\Translation\Loader\LegacyFileReader::load',217'PrestaShopBundle\Security\Admin\EmployeeProvider::supportsClass',218'PrestaShopBundle\Security\Admin\Employee::__construct',219'PrestaShopBundle\Install\Install::installLanguages',220'PrestaShopBundle\Entity\Repository\OrderInvoiceRepository::__construct',221'PrestaShopBundle\Translation\View\TreeBuilder::__construct',222'PrestaShopBundle\Translation\View\TreeBuilder::makeTranslationArray',223'PrestaShopBundle\Entity\Repository\LangRepository::getLocaleByIsoCode',224'PrestaShopBundle\Security\Annotation\DemoRestricted::setDomain',225'PrestaShopBundle\Security\Annotation\DemoRestricted::setMessage',226'PrestaShopBundle\Entity\Repository\LangRepository::getOneByLocale',227'PrestaShopBundle\Security\Annotation\DemoRestricted::setRedirectRoute',228'PrestaShopBundle\Entity\Repository\LangRepository::getOneByIsoCode',229'PrestaShopBundle\Entity\Repository\LangRepository::getOneByLocaleOrIsoCode',230'PrestaShopBundle\Security\Annotation\DemoRestricted::setRedirectQueryParamsToKeep',231'PrestaShopBundle\Entity\Repository\LangRepository::searchLanguage',232'PrestaShopBundle\Security\Annotation\AdminSecurity::setDomain',233'PrestaShopBundle\Security\Annotation\AdminSecurity::setRedirectRoute',234'PrestaShopBundle\Security\Annotation\AdminSecurity::setUrl',235'PrestaShopBundle\Security\Annotation\AdminSecurity::setRedirectQueryParamsToKeep',236'PrestaShopBundle\Entity\Repository\FeatureAttributeRepository::castNumericToInt',237'PrestaShopBundle\Entity\Repository\FeatureAttributeRepository::castIdsToArray',238'PrestaShopBundle\Entity\Repository\FeatureAttributeRepository::shouldCastToInt',239'PrestaShopBundle\Security\Annotation\ModuleActivated::setDomain',240'PrestaShopBundle\Security\Annotation\ModuleActivated::setMessage',241'PrestaShopBundle\Entity\Repository\FeatureAttributeRepository::__construct',242'PrestaShopBundle\Security\Annotation\ModuleActivated::setRedirectRoute',243'PrestaShopBundle\Security\Annotation\ModuleActivated::setModuleName',244'PrestaShopBundle\Install\Install::copyLanguageImages',245'PrestaShopBundle\Translation\View\TreeBuilder::dataContainsSearchWord',246'PrestaShopBundle\Security\Voter\PageVoter::supports',247'PrestaShopBundle\Security\Voter\PageVoter::voteOnAttribute',248'PrestaShopBundle\Entity\Repository\FeatureAttributeRepository::explodeCollections',249'PrestaShopBundle\Security\Voter\PageVoter::can',250'PrestaShopBundle\Security\Voter\PageVoter::buildAction',251'PrestaShopBundle\Translation\View\TreeBuilder::makeTranslationsTree',252'PrestaShopBundle\Install\Install::getLocalizationPackContent',253'PrestaShopBundle\Entity\Translation::setKey',254'PrestaShopBundle\Entity\Translation::setTranslation',255'PrestaShopBundle\Entity\Translation::setDomain',256'PrestaShopBundle\Entity\Translation::setTheme',257'PrestaShopBundle\Translation\View\TreeBuilder::cleanTreeToApi',258'PrestaShopBundle\Entity\Repository\CategoryRepository::castNumericToInt',259'PrestaShopBundle\Entity\Repository\CategoryRepository::castIdsToArray',260'PrestaShopBundle\Entity\Repository\CategoryRepository::shouldCastToInt',261'PrestaShopBundle\Entity\Repository\CategoryRepository::__construct',262'PrestaShopBundle\Entity\Repository\CategoryRepository::getCategories',263'PrestaShopBundle\Entity\Repository\CategoryRepository::buildTreeCategories',264'PrestaShopBundle\Entity\Lang::setName',265'PrestaShopBundle\Entity\Lang::setActive',266'PrestaShopBundle\Entity\Lang::setIsoCode',267'PrestaShopBundle\Entity\Lang::setLanguageCode',268'PrestaShopBundle\Entity\Lang::setDateFormatLite',269'PrestaShopBundle\Entity\Repository\ImportMatchRepository::__construct',270'PrestaShopBundle\Entity\Lang::setDateFormatFull',271'PrestaShopBundle\Entity\Repository\ImportMatchRepository::findOneById',272'PrestaShopBundle\Entity\Lang::setIsRtl',273'PrestaShopBundle\Entity\Lang::setLocale',274'PrestaShopBundle\Entity\Repository\ImportMatchRepository::findOneByName',275'PrestaShopBundle\Entity\Repository\ImportMatchRepository::deleteById',276'PrestaShopBundle\Entity\Repository\TabRepository::findByModule',277'PrestaShopBundle\Entity\Repository\TabRepository::findByParentId',278'PrestaShopBundle\Entity\Repository\TabRepository::findOneByClassName',279'PrestaShopBundle\Entity\Repository\TabRepository::findOneIdByClassName',280'PrestaShopBundle\Entity\Repository\TabRepository::changeStatusByClassName',281'PrestaShopBundle\Entity\Repository\StockMovementRepository::__construct',282'PrestaShopBundle\Entity\Repository\StockMovementRepository::selectSql',283'PrestaShopBundle\Entity\Repository\TabRepository::changeEnabledByModuleName',284'PrestaShopBundle\Install\Install::getAddonsModulesList',285'PrestaShopBundle\Entity\Repository\StockMovementRepository::getTypes',286'PrestaShopBundle\Entity\Repository\LogRepository::__construct',287'PrestaShopBundle\Install\Install::installModulesAddons',288'PrestaShopBundle\Entity\Repository\LogRepository::findAllWithEmployeeInformationQuery',289'PrestaShopBundle\Entity\Repository\LogRepository::findAllWithEmployeeInformation',290'PrestaShopBundle\Install\Install::installModules',291'PrestaShopBundle\Entity\Repository\ManufacturerRepository::castNumericToInt',292'PrestaShopBundle\Entity\Repository\ManufacturerRepository::castIdsToArray',293'PrestaShopBundle\Entity\Repository\ManufacturerRepository::shouldCastToInt',294'PrestaShopBundle\Entity\Repository\ManufacturerRepository::__construct',295'PrestaShopBundle\Entity\Repository\LogRepository::getAllWithEmployeeInformationQuery',296'PrestaShopBundle\Entity\Repository\RequestSqlRepository::__construct',297'PrestaShopBundle\Install\Install::installFixtures',298'PrestaShopBundle\Install\Install::installTheme',299'PrestaShopBundle\Install\Install::callWithUnityAutoincrement',300'PrestaShopBundle\Entity\Repository\StockRepository::__construct',301'PrestaShopBundle\Entity\Repository\StockRepository::updateStock',302'PrestaShopBundle\Entity\Repository\ModuleRepository::__construct',303'PrestaShopBundle\Entity\Repository\ModuleRepository::findRestrictedCountryIds',304'PrestaShopBundle\Entity\Repository\ModuleRepository::findRestrictedCurrencyIds',305'PrestaShopBundle\Entity\Repository\StockRepository::syncAllStock',306'PrestaShopBundle\Entity\Repository\ModuleRepository::findRestrictedGroupIds',307'PrestaShopBundle\Entity\Repository\ModuleRepository::findRestrictedCarrierReferenceIds',308'PrestaShopBundle\Entity\Repository\StockRepository::getDataExport',309'PrestaShopBundle\Entity\Repository\AdminFilterRepository::findByEmployeeAndRouteParams',310'PrestaShopBundle\Entity\Repository\StockRepository::selectSql',311'PrestaShopBundle\Entity\Repository\AdminFilterRepository::findByEmployeeAndFilterId',312'PrestaShopBundle\Install\XmlLoader::setTranslator',313'PrestaShopBundle\Entity\Repository\AdminFilterRepository::removeByEmployeeAndRouteParams',314'PrestaShopBundle\Install\XmlLoader::setFixturesPath',315'PrestaShopBundle\Install\XmlLoader::setError',316'PrestaShopBundle\Install\XmlLoader::storeId',317'PrestaShopBundle\Install\XmlLoader::retrieveId',318'PrestaShopBundle\Install\XmlLoader::setIds',319'PrestaShopBundle\Entity\Repository\AdminFilterRepository::createOrUpdateByEmployeeAndFilterId',320'PrestaShopBundle\Entity\Repository\AdminFilterRepository::createOrUpdateByEmployeeAndRouteParams',321'PrestaShopBundle\Entity\AttributeLang::setName',322'PrestaShopBundle\Entity\Repository\AttributeRepository::findByLangAndShop',323'PrestaShopBundle\Entity\ShopGroup::setName',324'PrestaShopBundle\Entity\ShopGroup::setShareCustomer',325'PrestaShopBundle\Entity\ShopGroup::setShareOrder',326'PrestaShopBundle\Entity\ShopGroup::setShareStock',327'PrestaShopBundle\Entity\ShopGroup::setActive',328'PrestaShopBundle\Entity\ShopGroup::setDeleted',329'PrestaShopBundle\Entity\ProductIdentity::__construct',330'PrestaShopBundle\Entity\Repository\AttributeRepository::getAttributeRow',331'PrestaShopBundle\Entity\Tab::setActive',332'PrestaShopBundle\Entity\Tab::setRouteName',333'PrestaShopBundle\Entity\Tab::setEnabled',334'PrestaShopBundle\Entity\ModuleHistory::setIdEmployee',335'PrestaShopBundle\Entity\ModuleHistory::setIdModule',336'PrestaShopBundle\Entity\ModuleHistory::setDateAdd',337'PrestaShopBundle\Entity\Repository\StockManagementRepository::castNumericToInt',338'PrestaShopBundle\Entity\Repository\StockManagementRepository::castIdsToArray',339'PrestaShopBundle\Entity\ModuleHistory::setDateUpd',340'PrestaShopBundle\Entity\Repository\StockManagementRepository::shouldCastToInt',341'PrestaShopBundle\Entity\Repository\StockManagementRepository::__construct',342'PrestaShopBundle\Entity\Shop::setName',343'PrestaShopBundle\Entity\Shop::setIdCategory',344'PrestaShopBundle\Entity\Shop::setThemeName',345'PrestaShopBundle\Install\XmlLoader::populateEntity',346'PrestaShopBundle\Entity\Shop::setActive',347'PrestaShopBundle\Entity\Shop::setDeleted',348'PrestaShopBundle\Entity\Repository\StockManagementRepository::selectSql',349'PrestaShopBundle\Entity\Attribute::setColor',350'PrestaShopBundle\Entity\Attribute::setPosition',351'PrestaShopBundle\Entity\AttributeGroup::setIsColorGroup',352'PrestaShopBundle\Entity\AttributeGroup::setGroupType',353'PrestaShopBundle\Entity\AttributeGroup::setPosition',354'PrestaShopBundle\Entity\AdminFilter::setEmployee',355'PrestaShopBundle\Entity\AdminFilter::setShop',356'PrestaShopBundle\Entity\AdminFilter::setController',357'PrestaShopBundle\Entity\AdminFilter::setAction',358'PrestaShopBundle\Entity\AdminFilter::setFilter',359'PrestaShopBundle\Entity\AdminFilter::setFilterId',360'PrestaShopBundle\Entity\AdminFilter::setProductCatalogFilter',361'PrestaShopBundle\Entity\Repository\TimezoneRepository::__construct',362'PrestaShopBundle\Controller\ArgumentResolver\SearchParametersResolver::__construct',363'PrestaShopBundle\Entity\AttributeGroupLang::setName',364'PrestaShopBundle\Entity\AttributeGroupLang::setPublicName',365'PrestaShopBundle\Install\XmlLoader::getFallBackToDefaultLanguage',366'PrestaShopBundle\Install\XmlLoader::getFallBackToDefaultEntityLanguage',367'PrestaShopBundle\Controller\ArgumentResolver\SearchParametersResolver::overrideWithSavedFilters',368'PrestaShopBundle\Entity\StockMvt::setIdStock',369'PrestaShopBundle\Entity\StockMvt::setIdOrder',370'PrestaShopBundle\Entity\StockMvt::setIdSupplyOrder',371'PrestaShopBundle\Translation\View\TreeBuilder::addTreeInfo',372'PrestaShopBundle\Entity\StockMvt::setIdStockMvtReason',373'PrestaShopBundle\Entity\StockMvt::setIdEmployee',374'PrestaShopBundle\Entity\StockMvt::setEmployeeLastname',375'PrestaShopBundle\Controller\ArgumentResolver\SearchParametersResolver::persistFilters',376'PrestaShopBundle\Entity\StockMvt::setEmployeeFirstname',377'PrestaShopBundle\Entity\StockMvt::setPhysicalQuantity',378'PrestaShopBundle\Controller\ArgumentResolver\SearchParametersResolver::buildDefaultFilters',379'PrestaShopBundle\Entity\StockMvt::setDateAdd',380'PrestaShopBundle\Entity\StockMvt::setSign',381'PrestaShopBundle\Entity\StockMvt::setPriceTe',382'PrestaShopBundle\Entity\StockMvt::setLastWa',383'PrestaShopBundle\Entity\StockMvt::setCurrentWa',384'PrestaShopBundle\Entity\StockMvt::setReferer',385'PrestaShopBundle\Entity\TabLang::setName',386'PrestaShopBundle\Entity\ProductDownload::setId',387'PrestaShopBundle\Entity\ProductDownload::setIdProduct',388'PrestaShopBundle\Entity\ProductDownload::setDisplayFilename',389'PrestaShopBundle\Entity\ProductDownload::setFilename',390'PrestaShopBundle\Entity\ProductDownload::setNbDaysAccessible',391'PrestaShopBundle\Entity\ProductDownload::setNbDownloadable',392'PrestaShopBundle\Entity\ProductDownload::setActive',393'PrestaShopBundle\Entity\ProductDownload::setIsShareable',394'PrestaShopBundle\Component\CsvResponse::__construct',395'PrestaShopBundle\Install\XmlLoader::loadEntity',396'PrestaShopBundle\Component\CsvResponse::setData',397'PrestaShopBundle\Component\CsvResponse::setModeType',398'PrestaShopBundle\Component\CsvResponse::setStart',399'PrestaShopBundle\Controller\Admin\Sell\Order\CreditSlipController::generatePdfAction',400'PrestaShopBundle\Component\CsvResponse::setLimit',401'PrestaShopBundle\Translation\Exporter\ThemeExporter::createZipArchive',402'PrestaShopBundle\Component\CsvResponse::setFileName',403'PrestaShopBundle\Install\XmlLoader::rewriteRelationedData',404'PrestaShopBundle\Translation\Exporter\ThemeExporter::exportCatalogues',405'PrestaShopBundle\Translation\Exporter\ThemeExporter::setExportDir',406'PrestaShopBundle\Translation\Exporter\ThemeExporter::ensureFileBelongsToExportDirectory',407'PrestaShopBundle\Install\XmlLoader::createEntity',408'PrestaShopBundle\Translation\Exporter\ThemeExporter::getCatalogueExtractedFromTemplates',409'PrestaShopBundle\Translation\Exporter\ThemeExporter::renameCatalogues',410'PrestaShopBundle\Install\XmlLoader::createEntityConfiguration',411'PrestaShopBundle\Component\CsvResponse::dumpFile',412'PrestaShopBundle\Install\XmlLoader::createEntityPack',413'PrestaShopBundle\Translation\Exporter\ThemeExporter::cleanArtifacts',414'PrestaShopBundle\Install\XmlLoader::createEntityStockAvailable',415'PrestaShopBundle\Translation\Exporter\ThemeExporter::getTemporaryExtractionFolder',416'PrestaShopBundle\Translation\Exporter\ThemeExporter::getFlattenizationFolder',417'PrestaShopBundle\Translation\Exporter\ThemeExporter::getExportDir',418'PrestaShopBundle\Translation\Exporter\ThemeExporter::makeZipFilename',419'PrestaShopBundle\Install\XmlLoader::createEntityTab',420'PrestaShopBundle\Translation\Exporter\ThemeExporter::makeArchiveParentDirectory',421'PrestaShopBundle\Translation\Exporter\ThemeExporter::ensureCatalogueHasRequiredMetadata',422'PrestaShopBundle\Utils\ZipManager::createArchive',423'PrestaShopBundle\Install\XmlLoader::generatePrimary',424'PrestaShopBundle\Translation\Exporter\ThemeExporter::addLocaleToDomain',425'PrestaShopBundle\Install\XmlLoader::copyImages',426'PrestaShopBundle\Translation\Exception\LegacyFileFormattingException::fileIsInvalid',427'PrestaShopBundle\Utils\FloatParser::fromString',428'PrestaShopBundle\Install\XmlLoader::copyImagesOrderState',429'PrestaShopBundle\Install\XmlLoader::copyImagesTab',430'PrestaShopBundle\Install\XmlLoader::copyImagesImage',431'PrestaShopBundle\Controller\Admin\Sell\Catalog\SupplierController::deleteAction',432'PrestaShopBundle\Install\XmlLoader::hasElements',433'PrestaShopBundle\Install\XmlLoader::getColumns',434'PrestaShopBundle\Controller\Admin\Sell\Order\OrderController::generateInvoicePdfAction',435'PrestaShopBundle\Controller\Admin\Sell\Order\OrderController::generateDeliverySlipPdfAction',436'PrestaShopBundle\Install\XmlLoader::getClasses',437'PrestaShopBundle\Install\XmlLoader::checkIfTypeIsText',438'PrestaShopBundle\Controller\Admin\Sell\Catalog\SupplierController::editAction',439'PrestaShopBundle\Install\XmlLoader::isMultilang',440'PrestaShopBundle\Install\XmlLoader::entityExists',441'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::toggleStatusAction',442'PrestaShopBundle\Install\XmlLoader::getEntityInfo',443'PrestaShopBundle\Controller\Admin\Sell\Catalog\SupplierController::toggleStatusAction',444'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::deleteAction',445'PrestaShopBundle\Controller\Admin\Sell\Catalog\SupplierController::viewAction',446'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmployeeController::editAction',447'PrestaShopBundle\Install\XmlLoader::generateEntitySchema',448'PrestaShopBundle\Install\XmlLoader::generateEntityFiles',449'PrestaShopBundle\Install\XmlLoader::generateEntityContent',450'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\BackupController::downloadViewAction',451'PrestaShopBundle\Install\XmlLoader::getEntityContents',452'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\BackupController::downloadContentAction',453'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\BackupController::deleteAction',454'PrestaShopBundle\Controller\Admin\Sell\CustomerService\CustomerThreadController::viewAction',455'PrestaShopBundle\Controller\Admin\Sell\CustomerService\CustomerThreadController::replyAction',456'PrestaShopBundle\Controller\Admin\Sell\CustomerService\CustomerThreadController::updateStatusAction',457'PrestaShopBundle\Controller\Admin\Sell\CustomerService\CustomerThreadController::forwardAction',458'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\EmailController::deleteAction',459'PrestaShopBundle\Controller\Admin\Configure\ShopParameters\MetaController::editAction',460'PrestaShopBundle\Controller\Admin\Configure\ShopParameters\MetaController::deleteAction',461'PrestaShopBundle\Install\XmlLoader::generateId',462'PrestaShopBundle\Install\XmlLoader::createXmlEntityNodes',463'PrestaShopBundle\Install\XmlLoader::backupImage',464'PrestaShopBundle\Controller\Admin\Sell\Order\OrderController::setInternalNoteAction',465'PrestaShopBundle\Install\Database::testDatabaseSettings',466'PrestaShopBundle\Install\Database::createDatabase',467'PrestaShopBundle\Install\Database::getBestEngine',468'PrestaShopBundle\Controller\Admin\Configure\ShopParameters\OrderStateController::toggleDeliveryAction',469'PrestaShopBundle\Install\LanguageList::setLanguage',470'PrestaShopBundle\Install\LanguageList::getLanguage',471'PrestaShopBundle\Controller\Admin\Configure\ShopParameters\OrderStateController::toggleInvoiceAction',472'PrestaShopBundle\Controller\Admin\Configure\ShopParameters\OrderStateController::toggleSendEmailAction',473'PrestaShopBundle\Install\AbstractInstall::setError',474'PrestaShopBundle\Install\AbstractInstall::setTranslator',475'PrestaShopBundle\Controller\Admin\Sell\Order\CartController::viewAction',476'PrestaShopBundle\Controller\Admin\Sell\Customer\CustomerController::editAction',477'PrestaShopBundle\Install\SimplexmlElement::addChild',478'PrestaShopBundle\Controller\Admin\Sell\Customer\CustomerController::viewAction',479'PrestaShopBundle\Install\SimplexmlElement::asXML',480'PrestaShopBundle\Controller\Admin\Sell\Customer\CustomerController::setPrivateNoteAction',481'PrestaShopBundle\Controller\Admin\Configure\ShopParameters\ContactsController::editAction',482'PrestaShopBundle\Controller\Admin\Sell\Customer\CustomerController::transformGuestToCustomerAction',483'PrestaShopBundle\Controller\Admin\Configure\ShopParameters\ContactsController::deleteAction',484'PrestaShopBundle\Install\System::checkTests',485'PrestaShopBundle\Controller\Admin\Sell\Customer\CustomerController::toggleStatusAction',486'PrestaShopBundle\Controller\Admin\Sell\Customer\CustomerController::toggleNewsletterSubscriptionAction',487'PrestaShopBundle\Controller\Admin\Sell\Customer\CustomerController::togglePartnerOfferSubscriptionAction',488'PrestaShopBundle\Install\Upgrade::__construct',489'PrestaShopBundle\Install\Upgrade::setDisableCustomModules',490'PrestaShopBundle\Install\Upgrade::setUpdateDefaultTheme',491'PrestaShopBundle\Install\Upgrade::setAdminDir',492'PrestaShopBundle\Install\Upgrade::setIdEmployee',493'PrestaShopBundle\Install\Upgrade::setChangeToDefaultTheme',494'PrestaShopBundle\Install\Upgrade::getConfValue',495'PrestaShopBundle\Controller\Admin\VirtualProductController::saveAction',496'PrestaShopBundle\Install\Upgrade::getThemeManager',497'PrestaShopBundle\Controller\Admin\VirtualProductController::downloadFileAction',498'PrestaShopBundle\Controller\Admin\VirtualProductController::removeFileAction',499'PrestaShopBundle\Controller\Admin\Sell\Customer\CustomerController::manageLegacyFlashes',500'PrestaShopBundle\Controller\Admin\VirtualProductController::removeAction',501'PrestaShopBundle\Controller\Admin\WarehouseController::refreshProductWarehouseCombinationFormAction',502'PrestaShopBundle\Install\Upgrade::upgradeDb',503'PrestaShopBundle\Controller\Admin\AttachementProductController::addAction',504'PrestaShopBundle\Controller\Admin\Sell\Catalog\CatalogPriceRuleController::deleteAction',505'PrestaShopBundle\Controller\Admin\AttributeController::deleteAttributeAction',506'PrestaShopBundle\Controller\Admin\AttributeController::deleteAllAttributeAction',507'PrestaShopBundle\Controller\Admin\AttributeController::getFormImagesAction',508'PrestaShopBundle\Controller\Admin\Sell\Catalog\AttributeController::indexAction',509'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\SqlManagerController::editAction',510'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\SqlManagerController::deleteAction',511'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\SqlManagerController::viewAction',512'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\SqlManagerController::exportAction',513'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\SqlManagerController::ajaxTableColumnsAction',514'PrestaShopBundle\Install\Upgrade::generateEmailsLanguagePack',515'PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::dispatchHook',516'PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::renderHook',517'PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::generateSidebarLink',518'PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::langToLocale',519'PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::authorizationLevel',520'PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::trans',521'PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::actionIsAllowed',522'PrestaShopBundle\Controller\Admin\Sell\Catalog\AttributeGroupController::deleteAction',523'PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::getForbiddenActionMessage',524'PrestaShopBundle\Install\Upgrade::logInfo',525'PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::getFallbackErrorMessage',526'PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::getAdminLink',527'PrestaShopBundle\Install\Upgrade::logWarning',528'PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController::returnErrorJsonResponse',529'PrestaShopBundle\Install\Upgrade::logError',530'PrestaShopBundle\Install\Upgrade::setInAutoUpgrade',531'PrestaShopBundle\Controller\Admin\Sell\Catalog\FeatureController::editAction',532'PrestaShopBundle\Controller\Admin\FeatureController::getFeatureValuesAction',533'PrestaShopBundle\Install\SqlLoader::parse_file',534'PrestaShopBundle\Install\SqlLoader::parseFile',535'PrestaShopBundle\Install\SqlLoader::parse',536'PrestaShopBundle\Controller\Admin\ProductController::catalogAction',537'PrestaShopBundle\Controller\Admin\Sell\Catalog\ManufacturerController::viewAction',538'PrestaShopBundle\Controller\Admin\Sell\Catalog\ManufacturerController::editAction',539'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\ImportController::downloadSampleAction',540'PrestaShopBundle\Controller\Admin\Sell\Catalog\ManufacturerController::deleteAction',541'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\ImportController::checkImportFormSubmitPermissions',542'PrestaShopBundle\Install\Language::__construct',543'PrestaShopBundle\Install\Language::setPropertiesFromXml',544'PrestaShopBundle\Controller\Admin\ProductController::listAction',545'PrestaShopBundle\Controller\Admin\Sell\Catalog\ManufacturerController::toggleStatusAction',546'PrestaShopBundle\Cache\LocalizationWarmer::__construct',547'PrestaShopBundle\Cache\LocalizationWarmer::warmUp',548'PrestaShopBundle\Cache\CacheWarmer::warmUp',549'PrestaShopBundle\Controller\Admin\Sell\Catalog\ManufacturerController::deleteAddressAction',550'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\ProfileController::editAction',551'PrestaShopBundle\Cache\ModuleTemplateCacheWarmer::__construct',552'PrestaShopBundle\Controller\Admin\ProductController::formAction',553'PrestaShopBundle\Cache\ModuleTemplateCacheWarmer::warmUp',554'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\ProfileController::deleteAction',555'PrestaShopBundle\Cache\ModuleTemplateCacheWarmer::findTemplatesInFolder',556'PrestaShopBundle\Controller\Admin\Sell\Catalog\ManufacturerController::editAddressAction',557'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\WebserviceController::editAction',558'PrestaShopBundle\Controller\Admin\ProductController::bulkAction',559'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\WebserviceController::deleteAction',560'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\WebserviceController::toggleStatusAction',561'PrestaShopBundle\Controller\Admin\ProductController::massEditAction',562'PrestaShopBundle\Controller\Admin\Improve\International\TaxController::editAction',563'PrestaShopBundle\Controller\Admin\ProductController::unitAction',564'PrestaShopBundle\Api\QueryParamsCollection::setPageSize',565'PrestaShopBundle\Api\QueryParamsCollection::setPageIndex',566'PrestaShopBundle\Controller\Admin\Improve\International\TaxController::deleteAction',567'PrestaShopBundle\Controller\Admin\Improve\International\TaxController::toggleStatusAction',568'PrestaShopBundle\Controller\Admin\ProductController::toggleStatusAction',569'PrestaShopBundle\Controller\Admin\Sell\Catalog\AttachmentController::editAction',570'PrestaShopBundle\Controller\Admin\ProductController::catalogFiltersAction',571'PrestaShopBundle\Controller\Admin\ProductController::renderFieldAction',572'PrestaShopBundle\Controller\Admin\ProductController::getLogDataContext',573'PrestaShopBundle\Controller\Admin\CombinationController::generateCombinationFormAction',574'PrestaShopBundle\Controller\Admin\CombinationController::getProductCombinationsAction',575'PrestaShopBundle\Api\QueryParamsCollection::setDefaultOrderParam',576'PrestaShopBundle\Api\QueryParamsCollection::removeDirection',577'PrestaShopBundle\Controller\Admin\ProductImageController::uploadImageAction',578'PrestaShopBundle\Api\QueryParamsCollection::appendSqlFilter',579'PrestaShopBundle\Api\QueryParamsCollection::appendSqlFilterParams',580'PrestaShopBundle\Controller\Admin\ProductImageController::formAction',581'PrestaShopBundle\Api\QueryParamsCollection::appendSqlCategoryFilterParam',582'PrestaShopBundle\Api\QueryParamsCollection::appendSqlDateAddFilter',583'PrestaShopBundle\Controller\Admin\ProductImageController::deleteAction',584'PrestaShopBundle\Api\QueryParamsCollection::appendSqlDateAddFilterParam',585'PrestaShopBundle\Api\QueryParamsCollection::appendSqlActiveFilter',586'PrestaShopBundle\Api\QueryParamsCollection::appendSqlActiveFilterParam',587'PrestaShopBundle\Api\QueryParamsCollection::appendSqlAttributesFilter',588'PrestaShopBundle\Controller\Admin\Improve\International\LanguageController::editAction',589'PrestaShopBundle\Api\QueryParamsCollection::appendSqlAttributesFilterParam',590'PrestaShopBundle\Api\QueryParamsCollection::appendSqlFeaturesFilter',591'PrestaShopBundle\Api\QueryParamsCollection::appendSqlFeaturesFilterParam',592'PrestaShopBundle\Controller\Admin\Improve\International\LanguageController::deleteAction',593'PrestaShopBundle\Api\QueryParamsCollection::appendSqlSearchFilter',594'PrestaShopBundle\Api\QueryParamsCollection::appendSqlSearchFilterParam',595'PrestaShopBundle\Controller\Admin\Improve\International\LanguageController::toggleStatusAction',596'PrestaShopBundle\Api\QueryParamsCollection::isTimestamp',597'PrestaShopBundle\Controller\Admin\CommonController::paginationAction',598'PrestaShopBundle\Controller\Admin\Improve\International\LanguageController::bulkToggleStatusAction',599'PrestaShopBundle\Api\QueryTranslationParamsCollection::setDefaultOrderParam',600'PrestaShopBundle\Api\QueryStockMovementParamsCollection::setDefaultOrderParam',601'PrestaShopBundle\Api\QueryStockParamsCollection::setDefaultOrderParam',602'PrestaShopBundle\Api\Stock\Movement::__construct',603'PrestaShopBundle\Controller\Admin\Sell\Catalog\CategoryController::editAction',604'PrestaShopBundle\Controller\Admin\CommonController::recommendedModulesAction',605'PrestaShopBundle\Controller\Admin\Sell\Catalog\CategoryController::editRootAction',606'PrestaShopBundle\Controller\Admin\CommonController::renderSidebarAction',607'PrestaShopBundle\Controller\Admin\Sell\Catalog\CategoryController::deleteCoverImageAction',608'PrestaShopBundle\Controller\Admin\SpecificPriceController::listAction',609'PrestaShopBundle\Command\SecurityAnnotationLinterCommand::parseExpression',610'PrestaShopBundle\Controller\Admin\CommonController::resetSearchAction',611'PrestaShopBundle\Controller\Admin\Sell\Catalog\CategoryController::deleteMenuThumbnailAction',612'PrestaShopBundle\Controller\Admin\CommonController::renderFieldAction',613'PrestaShopBundle\Controller\Admin\CommonController::searchGridAction',614'PrestaShopBundle\Controller\Admin\SpecificPriceController::getUpdateFormAction',615'PrestaShopBundle\Controller\Admin\Sell\Catalog\CategoryController::toggleStatusAction',616'PrestaShopBundle\Controller\Admin\SpecificPriceController::updateAction',617'PrestaShopBundle\Controller\Admin\SpecificPriceController::deleteAction',618'PrestaShopBundle\Controller\Admin\SpecificPriceController::formatSpecificPriceToPrefillForm',619'PrestaShopBundle\Controller\Admin\SpecificPriceController::formatForDatePicker',620'PrestaShopBundle\Controller\Admin\Improve\ModuleController::configureModuleAction',621'PrestaShopBundle\Controller\Admin\CategoryController::getAjaxCategoriesAction',622'PrestaShopBundle\Controller\Admin\Improve\ModuleController::getModuleCartAction',623'PrestaShopBundle\Command\ModuleCommand::executeConfigureModuleAction',624'PrestaShopBundle\Command\ModuleCommand::executeGenericModuleAction',625'PrestaShopBundle\Command\ModuleCommand::displayMessage',626'PrestaShopBundle\Controller\Admin\SupplierController::refreshProductSupplierCombinationFormAction',627'PrestaShopBundle\Controller\Admin\Improve\ModuleController::getModulesByInstallation',628'PrestaShopBundle\Command\CheckTranslationDuplicatesCommand::check',629'PrestaShopBundle\Command\CheckTranslationDuplicatesCommand::removeParams',630'PrestaShopBundle\Controller\Admin\Improve\ModuleController::getTopMenuData',631'PrestaShopBundle\Controller\Api\ApiController::guardAgainstInvalidJsonBody',632'PrestaShopBundle\Controller\Api\ApiController::addAdditionalInfo',633'PrestaShopBundle\Controller\Admin\Improve\ModuleController::checkPermission',634'PrestaShopBundle\Command\AppendHooksListForSqlUpgradeFileCommand::getSqlUpgradeFileByPrestaShopVersion',635'PrestaShopBundle\Controller\Api\ApiController::jsonResponse',636'PrestaShopBundle\Controller\Api\ApiController::isGranted',637'PrestaShopBundle\Command\AppendHooksListForSqlUpgradeFileCommand::appendSqlToFile',638'PrestaShopBundle\Routing\Converter\LegacyRouteProviderInterface::getActionsByController',639'PrestaShopBundle\Routing\Converter\LegacyRouteProviderInterface::getLegacyRouteByAction',640'PrestaShopBundle\Routing\Converter\CacheProvider::unserializeLegacyRoutes',641'PrestaShopBundle\Controller\Api\StockController::guardAgainstInvalidRequestContent',642'PrestaShopBundle\Controller\Admin\Improve\Design\PositionsController::manageLegacyFlashes',643'PrestaShopBundle\Command\UpdateLicensesCommand::findAndCheckExtension',644'PrestaShopBundle\Routing\Converter\LegacyUrlConverter::convertByUrl',645'PrestaShopBundle\Command\UpdateLicensesCommand::isAFLLicense',646'PrestaShopBundle\Command\UpdateLicensesCommand::addLicenseToFile',647'PrestaShopBundle\Command\UpdateLicensesCommand::addLicenseToNode',648'PrestaShopBundle\Routing\Converter\LegacyUrlConverter::checkAlreadyMatchingRoute',649'PrestaShopBundle\Routing\Converter\LegacyRoute::__construct',650'PrestaShopBundle\Routing\Converter\LegacyRoute::isIndexAction',651'PrestaShopBundle\Routing\Converter\LegacyRoute::buildLegacyRoute',652'PrestaShopBundle\Controller\Admin\Improve\Design\CmsPageController::editAction',653'PrestaShopBundle\Routing\Converter\LegacyRoute::buildControllerActions',654'PrestaShopBundle\Controller\Api\TranslationController::guardAgainstInvalidTranslationEditRequest',655'PrestaShopBundle\Routing\Converter\RoutingCacheKeyGenerator::__construct',656'PrestaShopBundle\Controller\Admin\Improve\Design\CmsPageController::editCmsCategoryAction',657'PrestaShopBundle\Controller\Api\TranslationController::guardAgainstInvalidTranslationResetRequest',658'PrestaShopBundle\Controller\Api\TranslationController::getNormalTree',659'PrestaShopBundle\Controller\Admin\Improve\Design\CmsPageController::deleteCmsCategoryAction',660'PrestaShopBundle\Controller\Api\TranslationController::getModulesTree',661'PrestaShopBundle\Controller\Api\TranslationController::getMailsSubjectTree',662'PrestaShopBundle\Controller\Api\TranslationController::getMailsBodyTree',663'PrestaShopBundle\Controller\Api\TranslationController::getCleanTree',664'PrestaShopBundle\Routing\Converter\AbstractLegacyRouteProvider::getActionsByController',665'PrestaShopBundle\Routing\Converter\AbstractLegacyRouteProvider::getLegacyRouteByAction',666'PrestaShopBundle\Routing\Converter\AbstractLegacyRouteProvider::getRouteName',667'PrestaShopBundle\Routing\Converter\AbstractLegacyRouteProvider::getControllerActions',668'PrestaShopBundle\Controller\Admin\Improve\Design\CmsPageController::toggleCmsCategoryAction',669'PrestaShopBundle\Controller\Admin\Improve\Design\CmsPageController::toggleCmsAction',670'PrestaShopBundle\Controller\Admin\Improve\Design\CmsPageController::deleteCmsAction',671'PrestaShopBundle\Routing\Linter\SecurityAnnotationLinter::getRouteSecurityAnnotation',672'PrestaShopBundle\Controller\Admin\Improve\Design\CmsPageController::redirectToParentIndexPage',673'PrestaShopBundle\Routing\Linter\SecurityAnnotationLinter::lint',674'PrestaShopBundle\Model\Product\AdminModelAdapter::getModelData',675'PrestaShopBundle\Controller\Admin\Improve\Design\CmsPageController::redirectToParentIndexPageByCmsPageId',676'PrestaShopBundle\Routing\Linter\RouteLinterInterface::lint',677'PrestaShopBundle\Controller\Admin\Improve\Design\CmsPageController::redirectToIndexPageById',678'PrestaShopBundle\Routing\Linter\NamingConventionLinter::lint',679'PrestaShopBundle\Controller\Admin\Improve\Design\CmsPageController::getParentCategoryId',680'PrestaShopBundle\Routing\Linter\LegacyLinkLinter::lint',681'PrestaShopBundle\Command\UpdateEUTaxruleGroupsCommand::addTaxRule',682'PrestaShopBundle\Routing\Linter\Exception\NamingConventionException::__construct',683'PrestaShopBundle\Routing\YamlModuleLoader::load',684'PrestaShopBundle\Routing\YamlModuleLoader::supports',685'PrestaShopBundle\Routing\YamlModuleLoader::import',686'PrestaShopBundle\Service\Database\DoctrineNamingStrategy::__construct',687'PrestaShopBundle\Service\Database\DoctrineNamingStrategy::classToTableName',688'PrestaShopBundle\Service\Database\DoctrineNamingStrategy::joinTableName',689'PrestaShopBundle\Service\TransitionalBehavior\AdminPagePreferenceInterface::getTemporaryShouldUseLegacyPage',690'PrestaShopBundle\Service\TransitionalBehavior\AdminPagePreferenceInterface::setTemporaryShouldUseLegacyPage',691'PrestaShopBundle\Service\TransitionalBehavior\AdminPagePreferenceInterface::getTemporaryShouldAllowUseLegacyPage',692'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::__construct',693'PrestaShopBundle\Controller\Admin\Improve\Design\ThemeController::enableAction',694'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::setSslVerification',695'PrestaShopBundle\Controller\Admin\Improve\Design\ThemeController::deleteAction',696'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::getPrestaTrustCheck',697'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::getModule',698'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::getModuleZip',699'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::getCustomerModules',700'PrestaShopBundle\Controller\Admin\Improve\Design\ThemeController::resetLayoutsAction',701'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::setMethod',702'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::setAction',703'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::setIsoLang',704'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::setIsoCode',705'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::setVersion',706'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::setModuleId',707'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::setModuleKey',708'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::setModuleName',709'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::setShopUrl',710'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::setUserMail',711'PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient::setPassword',712'PrestaShopBundle\Service\DataUpdater\Admin\ProductInterface::activateProductIdList',713'PrestaShopBundle\Service\DataUpdater\Admin\ProductInterface::deleteProduct',714'PrestaShopBundle\Service\DataProvider\Admin\CategoriesProvider::getCategoriesMenu',715'PrestaShopBundle\Service\DataUpdater\Admin\ProductInterface::duplicateProduct',716'PrestaShopBundle\Service\DataUpdater\Admin\ProductInterface::sortProductIdList',717'PrestaShopBundle\Service\DataProvider\Admin\CategoriesProvider::initializeCategories',718'PrestaShopBundle\Service\TranslationService::langToLocale',719'PrestaShopBundle\Service\TranslationService::findLanguageByLocale',720'PrestaShopBundle\Service\TranslationService::getTranslationsCatalogue',721'PrestaShopBundle\Service\TranslationService::requiresThemeTranslationsFactory',722'PrestaShopBundle\Service\TranslationService::listDomainTranslation',723'PrestaShopBundle\Service\DataProvider\Admin\RecommendedModules::getRecommendedModuleIdList',724'PrestaShopBundle\Service\DataProvider\Admin\AddonsInterface::request',725'PrestaShopBundle\Service\TranslationService::dataContainsSearchWord',726'PrestaShopBundle\Service\DataProvider\Admin\ProductInterface::combinePersistentCatalogProductFilter',727'PrestaShopBundle\Service\DataProvider\Admin\ProductInterface::getCatalogProductList',728'PrestaShopBundle\Service\TranslationService::saveTranslationMessage',729'PrestaShopBundle\Controller\Admin\Improve\Design\MailThemeController::previewThemeAction',730'PrestaShopBundle\Service\Log\LogHandler::__construct',731'PrestaShopBundle\Controller\Admin\Improve\Design\MailThemeController::sendTestMailAction',732'PrestaShopBundle\Service\TranslationService::resetTranslationMessage',733'PrestaShopBundle\Service\Hook\HookEvent::setHookParameters',734'PrestaShopBundle\Service\Hook\RenderingHookEvent::setContent',735'PrestaShopBundle\Controller\Admin\Improve\Design\MailThemeController::previewLayoutAction',736'PrestaShopBundle\Controller\Admin\Improve\Design\MailThemeController::rawLayoutAction',737'PrestaShopBundle\Controller\Admin\Improve\Design\MailThemeController::renderLayout',738'PrestaShopBundle\Controller\Admin\Improve\Design\MailThemeController::getMailLayout',739'PrestaShopBundle\Service\Routing\Router::generate',740'PrestaShopBundle\Service\Hook\HookFinder::addExpectedInstanceClasses',741'PrestaShopBundle\Service\Hook\HookFinder::setExpectedInstanceClasses',742'PrestaShopBundle\Service\Routing\Router::generateTokenizedUrl',743'PrestaShopBundle\Service\Hook\HookFinder::setHookName',744'PrestaShopBundle\Service\Hook\HookFinder::addParams',745'PrestaShopBundle\Service\Hook\HookFinder::setParams',746'PrestaShopBundle\Service\Grid\ControllerResponseBuilder::buildSearchResponse',747'PrestaShopBundle\Twig\HookExtension::renderHooksArray',748'PrestaShopBundle\Twig\HookExtension::renderHook',749'PrestaShopBundle\Service\Grid\ResponseBuilder::buildSearchResponse',750'PrestaShopBundle\Twig\HookExtension::hooksArrayContent',751'PrestaShopBundle\Twig\HookExtension::hookCount',752'PrestaShopBundle\Exception\InvalidLanguageException::localeNotFound',753'PrestaShopBundle\Exception\ServiceDefinitionException::__construct',754'PrestaShopBundle\Exception\InvalidPaginationParamsException::__construct',755'PrestaShopBundle\Controller\Admin\Improve\Shipping\PreferencesController::renderForm',756'PrestaShopBundle\Event\Dispatcher\NullDispatcher::addListener',757'PrestaShopBundle\Event\Dispatcher\NullDispatcher::dispatch',758'PrestaShopBundle\Twig\TranslationsExtension::getTranslationsForms',759'PrestaShopBundle\Event\Dispatcher\NullDispatcher::getListeners',760'PrestaShopBundle\Event\Dispatcher\NullDispatcher::hasListeners',761'PrestaShopBundle\Twig\TranslationsExtension::concatenateEditTranslationForm',762'PrestaShopBundle\Event\Dispatcher\NullDispatcher::removeListener',763'PrestaShopBundle\Event\Dispatcher\NullDispatcher::getListenerPriority',764'PrestaShopBundle\Event\Dispatcher\NullDispatcher::dispatchWithParameters',765'PrestaShopBundle\Twig\TranslationsExtension::getTranslationsTree',766'PrestaShopBundle\Event\Dispatcher\NullDispatcher::dispatchRenderingWithParameters',767'PrestaShopBundle\Twig\TranslationsExtension::makeSubtree',768'PrestaShopBundle\Controller\Admin\Improve\Modules\ModuleAbstractController::getNotificationPageData',769'PrestaShopBundle\Twig\Locator\ModuleTemplateIterator::__construct',770'PrestaShopBundle\Kernel\ModuleRepositoryFactory::__construct',771'PrestaShopBundle\Twig\TranslationsExtension::renderEditTranslationForm',772'PrestaShopBundle\Twig\TranslationsExtension::getTranslationHash',773'PrestaShopBundle\Twig\TranslationsExtension::getDefaultTranslationValue',774'PrestaShopBundle\Twig\TranslationsExtension::getTranslationValue',775'PrestaShopBundle\Twig\TranslationsExtension::hasMessages',776'PrestaShopBundle\Twig\TranslationsExtension::concatenateSubtreeHeader',777'PrestaShopBundle\Twig\Locator\ModuleTemplateIterator::findTemplatesInDirectory',778'PrestaShopBundle\Kernel\ModuleRepository::__construct',779'PrestaShopBundle\Twig\TranslationsExtension::getTranslationsFormStart',780'PrestaShopBundle\Twig\ContextIsoCodeProviderExtension::__construct',781'PrestaShopBundle\Twig\TranslationsExtension::replaceWarningPlaceholder',782'PrestaShopBundle\Twig\TranslationsExtension::parseDomain',783'PrestaShopBundle\Twig\TranslationsExtension::getNavigation',784'PrestaShopBundle\Twig\TranslationsExtension::tagSubject',785'PrestaShopBundle\EventListener\TokenizedUrlsListener::__construct',786'PrestaShopBundle\Twig\Extension\NumberExtension::createNumber',787'PrestaShopBundle\Twig\DataFormatterExtension::arrayCast',788'PrestaShopBundle\Twig\DataFormatterExtension::intCast',789'PrestaShopBundle\Twig\DataFormatterExtension::unsetElement',790'PrestaShopBundle\Twig\Extension\LocalizationExtension::dateFormatFull',791'PrestaShopBundle\Controller\Admin\Improve\International\CurrencyController::editAction',792'PrestaShopBundle\Twig\Extension\LocalizationExtension::dateFormatLite',793'PrestaShopBundle\Twig\Extension\PathWithBackUrlExtension::__construct',794'PrestaShopBundle\Twig\LayoutExtension::__construct',795'PrestaShopBundle\Twig\Extension\PathWithBackUrlExtension::getPathWithBackUrl',796'PrestaShopBundle\Twig\LayoutExtension::getConfiguration',797'PrestaShopBundle\Twig\LayoutExtension::getLegacyLayout',798'PrestaShopBundle\Twig\LayoutExtension::getAdminLink',799'PrestaShopBundle\Twig\LayoutExtension::getYoutubeLink',800'PrestaShopBundle\EventListener\MultishopCommandListener::__construct',801'PrestaShopBundle\DependencyInjection\Config\ConfigYamlLoader::load',802'PrestaShopBundle\Controller\Admin\Improve\International\CurrencyController::deleteAction',803'PrestaShopBundle\DependencyInjection\Config\ConfigYamlLoader::supports',804'PrestaShopBundle\DependencyInjection\Config\ConfigYamlLoader::parseImports',805'PrestaShopBundle\Controller\Admin\Improve\International\CurrencyController::getReferenceDataAction',806'PrestaShopBundle\Twig\Extension\GridExtension::getTemplatePath',807'PrestaShopBundle\Controller\Admin\Improve\International\CurrencyController::toggleStatusAction',808'PrestaShop\PrestaShop\Core\Configuration\PhpExtensionChecker::loaded',809'PrestaShopBundle\Controller\Admin\Improve\International\CurrencyController::bulkToggleStatusAction',810'PrestaShopBundle\EventListener\DemoModeEnabledListener::__construct',811'PrestaShop\PrestaShop\Core\Configuration\IniConfiguration::convertToBytes',812'PrestaShopBundle\EventListener\DemoModeEnabledListener::getAnnotation',813'PrestaShop\PrestaShop\Core\Configuration\PhpExtensionCheckerInterface::loaded',814'PrestaShop\PrestaShop\Core\Form\DTO\ShopRestrictionField::__construct',815'PrestaShop\PrestaShop\Core\Form\Handler::__construct',816'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Handler\FormHandlerFactory::__construct',817'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Handler\FormHandler::__construct',818'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Handler\FormHandler::handleFor',819'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Handler\FormHandler::handleForm',820'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Handler\FormHandler::handleFormUpdate',821'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Handler\FormHandlerResult::__construct',822'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Handler\FormHandlerResult::createWithId',823'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Handler\FormHandlerInterface::handleFor',824'PrestaShopBundle\EventListener\ModuleActivatedListener::getAnnotation',825'PrestaShopBundle\EventListener\ModuleActivatedListener::validateAnnotation',826'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\CmsPageFormDataProvider::getData',827'PrestaShopBundle\EventListener\ModuleGuardListener::__construct',828'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\OrderStateFormDataProvider::getData',829'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\AttachmentFormDataProvider::getData',830'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\CurrencyFormDataProvider::getData',831'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\CatalogPriceRuleFormDataProvider::getData',832'PrestaShopBundle\DependencyInjection\Compiler\OptionsFormHookNameCollectorPass::isOptionsFormService',833'PrestaShopBundle\DependencyInjection\Compiler\OptionsFormHookNameCollectorPass::stringEndsWith',834'PrestaShop\PrestaShop\Core\Order\OrderStateDataProviderInterface::getOrderStates',835'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\TaxFormDataProvider::getData',836'PrestaShop\PrestaShop\Core\Order\OrderReturnStateDataProviderInterface::getOrderReturnStates',837'PrestaShopBundle\DependencyInjection\Compiler\OptionsFormHookNameCollectorPass::formatHookName',838'PrestaShop\PrestaShop\Core\Order\InvoiceInterface::getByDeliveryDateInterval',839'PrestaShop\PrestaShop\Core\Order\OrderInvoiceDataProviderInterface::getByStatus',840'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\SqlRequestFormDataProvider::getData',841'PrestaShop\PrestaShop\Core\Crypto\Hashing::isFirstHash',842'PrestaShop\PrestaShop\Core\Crypto\Hashing::checkHash',843'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\WebserviceKeyFormDataProvider::getData',844'PrestaShop\PrestaShop\Core\Crypto\Hashing::hash',845'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\SupplierFormDataProvider::__construct',846'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\SupplierFormDataProvider::getData',847'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\LanguageFormDataProvider::__construct',848'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\LanguageFormDataProvider::getData',849'PrestaShopBundle\DependencyInjection\Compiler\ModulesDoctrineCompilerPass::createAnnotationMappingDriver',850'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\ManufacturerFormDataProvider::__construct',851'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\ManufacturerFormDataProvider::getData',852'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\ProfileFormDataProvider::getData',853'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\CategoryFormDataProvider::__construct',854'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\CategoryFormDataProvider::getData',855'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\CmsPageCategoryFormDataProvider::getData',856'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\AddressFormDataHandler::update',857'PrestaShopBundle\DependencyInjection\Compiler\LoadServicesFromModulesPass::__construct',858'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\ProductFormDataProvider::getData',859'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\ManufacturerAddressFormDataHandler::update',860'PrestaShopBundle\DependencyInjection\Compiler\IdentifiableObjectFormTypesCollectorPass::isIdentifiableObjectFormBuilderService',861'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\CmsPageFormDataHandler::update',862'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\SqlRequestFormDataHandler::update',863'PrestaShopBundle\DependencyInjection\Compiler\GridDefinitionServiceIdsCollectorPass::isGridDefinitionService',864'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\CustomerFormDataHandler::__construct',865'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\LanguageFormDataHandler::update',866'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\CustomerFormDataHandler::update',867'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\CustomerFormDataHandler::buildCustomerEditCommand',868'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\CmsPageCategoryFormDataHandler::update',869'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\CancellationFormDataHandler::update',870'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\ManufacturerFormDataHandler::update',871'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\MetaFormDataProvider::getData',872'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\RootCategoryFormDataHandler::update',873'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\RootCategoryFormDataHandler::createEditRootCategoryCommand',874'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\OrderMessageFormDataProvider::getData',875'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\RootCategoryFormDataHandler::uploadImages',876'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\FeatureFormDataProvider::__construct',877'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\FeatureFormDataProvider::getData',878'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\CatalogPriceRuleFormDataHandler::update',879'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\CustomerFormDataProvider::__construct',880'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\FeatureFormDataHandler::update',881'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\CustomerFormDataProvider::getData',882'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\ContactFormDataHandler::update',883'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\ReturnProductFormDataHandler::update',884'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\ManufacturerAddressFormDataProvider::__construct',885'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\ManufacturerAddressFormDataProvider::getData',886'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\FormDataProviderInterface::getData',887'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\CancelProductFormDataProvider::getData',888'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\CurrencyFormDataHandler::update',889'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\OrderReturnStateFormDataProvider::getData',890'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\MetaFormDataHandler::update',891'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\AddressFormDataProvider::getData',892'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\OrderAddressFormDataHandler::update',893'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\ContactFormDataProvider::getData',894'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\ProfileFormDataHandler::update',895'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\WebserviceKeyFormDataHandler::__construct',896'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\WebserviceKeyFormDataHandler::update',897'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\EmployeeFormDataProvider::__construct',898'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\OrderReturnStateFormDataHandler::update',899'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\EmployeeFormDataProvider::getData',900'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\FormDataHandlerInterface::update',901'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\StandardRefundFormDataHandler::update',902'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\OrderReturnStateFormDataHandler::buildOrderReturnStateEditCommand',903'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\OrderMessageFormDataHandler::update',904'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\AttachmentFormDataHandler::update',905'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\EmployeeFormDataHandler::__construct',906'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\EmployeeFormDataHandler::update',907'PrestaShop\PrestaShop\Core\Form\FormHandler::__construct',908'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\CartAddressFormDataHandler::update',909'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\EmployeeFormDataHandler::assertPasswordIsSameAsOldPassword',910'PrestaShop\PrestaShop\Core\Form\ChoiceProvider\ImportEntityFieldChoiceProvider::__construct',911'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\PartialRefundFormDataHandler::update',912'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\OrderStateFormDataHandler::update',913'PrestaShop\PrestaShop\Core\Form\ChoiceProvider\MailMethodChoiceProvider::trans',914'PrestaShop\PrestaShop\Core\Form\ChoiceProvider\CountryByIsoCodeChoiceProvider::__construct',915'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\OrderStateFormDataHandler::buildOrderStateEditCommand',916'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\ProductFormDataHandler::update',917'PrestaShop\PrestaShop\Core\Form\ChoiceProvider\CountryByIdChoiceProvider::__construct',918'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\CategoryFormDataHandler::update',919'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\CategoryFormDataHandler::createEditCategoryCommand',920'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\SupplierFormDataHandler::update',921'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\TaxFormDataHandler::update',922'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Builder\FormBuilderFactoryInterface::create',923'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Builder\FormBuilderFactory::create',924'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Builder\FormBuilderInterface::getFormFor',925'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Builder\FormBuilder::__construct',926'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Builder\FormBuilder::getFormFor',927'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Builder\FormBuilder::buildForm',928'PrestaShop\PrestaShop\Core\Util\ColorBrightnessCalculator::isBright',929'PrestaShop\PrestaShop\Core\Util\ColorBrightnessCalculator::calculate',930'PrestaShop\PrestaShop\Core\File\FileUploaderInterface::upload',931'PrestaShop\PrestaShop\Core\File\FileUploader::upload',932'PrestaShop\PrestaShop\Core\Util\File\YamlParser::__construct',933'PrestaShop\PrestaShop\Core\Util\File\YamlParser::parse',934'PrestaShop\PrestaShop\Core\Util\File\YamlParser::getCacheFile',935'PrestaShop\PrestaShop\Core\Form\ChoiceProvider\ContactByIdChoiceProvider::__construct',936'PrestaShop\PrestaShop\Core\Form\ChoiceProvider\CarrierByReferenceChoiceProvider::__construct',937'PrestaShop\PrestaShop\Core\Util\Url\UrlFileChecker::__construct',938'PrestaShop\PrestaShop\Core\Util\Url\UrlFileChecker::isFileWritable',939'PrestaShop\PrestaShop\Core\Form\ChoiceProvider\OrderStateByIdChoiceProvider::__construct',940'PrestaShop\PrestaShop\Core\Translation\Locale\Converter::__construct',941'PrestaShop\PrestaShop\Core\Translation\Locale\Converter::toLegacyLocale',942'PrestaShop\PrestaShop\Core\Translation\Locale\Converter::toLanguageTag',943'PrestaShop\PrestaShop\Core\Form\ChoiceProvider\GroupByIdChoiceProvider::__construct',944'PrestaShop\PrestaShop\Core\Translation\Locale\Converter::toPrestaShopLocale',945'PrestaShop\PrestaShop\Core\Util\Number\NumberExtractor::extract',946'PrestaShop\PrestaShop\Core\CommandBus\Middleware\CommandRegisterMiddleware::execute',947'PrestaShop\PrestaShop\Core\Util\Number\NumberExtractor::extractPublicPropertyFirst',948'PrestaShop\PrestaShop\Core\CommandBus\TacticianCommandBusAdapter::handle',949'PrestaShop\PrestaShop\Core\CommandBus\CommandBusInterface::handle',950'PrestaShop\PrestaShop\Core\Util\Number\NumberExtractor::toDecimalNumber',951'PrestaShop\PrestaShop\Core\CommandBus\Parser\CommandDefinitionParser::parseDefinition',952'PrestaShop\PrestaShop\Core\CommandBus\Parser\CommandDefinitionParser::parseType',953'PrestaShop\PrestaShop\Core\CommandBus\Parser\CommandDefinitionParser::parseDescription',954'PrestaShop\PrestaShop\Core\Util\HelperCard\DocumentationLinkProvider::__construct',955'PrestaShop\PrestaShop\Core\Util\HelperCard\DocumentationLinkProvider::getLink',956'PrestaShop\PrestaShop\Core\CommandBus\Parser\CommandTypeParser::parse',957'PrestaShop\PrestaShop\Core\Util\HelperCard\DocumentationLinkProviderInterface::getLink',958'PrestaShop\PrestaShop\Core\CommandBus\Parser\CommandDefinition::__construct',959'PrestaShop\PrestaShop\Core\Util\String\StringValidatorInterface::startsWith',960'PrestaShop\PrestaShop\Core\Util\String\StringValidatorInterface::endsWith',961'PrestaShop\PrestaShop\Core\Util\String\StringValidatorInterface::startsWithAndEndsWith',962'PrestaShop\PrestaShop\Core\Util\String\StringValidatorInterface::doesContainsWhiteSpaces',963'PrestaShop\PrestaShop\Core\CommandBus\ExecutedCommandRegistry::register',964'PrestaShop\PrestaShop\Core\Util\String\StringModifierInterface::splitByCamelCase',965'PrestaShop\PrestaShop\Core\Util\String\StringModifier::splitByCamelCase',966'PrestaShop\PrestaShop\Core\Util\String\StringValidator::startsWith',967'PrestaShop\PrestaShop\Core\Util\String\StringValidator::endsWith',968'PrestaShop\PrestaShop\Core\Util\String\StringValidator::startsWithAndEndsWith',969'PrestaShop\PrestaShop\Core\Util\String\StringValidator::doesContainsWhiteSpaces',970'PrestaShop\PrestaShop\Core\Util\BoolParser::castToBool',971'PrestaShop\PrestaShop\Core\Foundation\Filesystem\FileSystem::normalizePath',972'PrestaShop\PrestaShop\Core\Foundation\Filesystem\FileSystem::joinTwoPaths',973'PrestaShop\PrestaShop\Core\MailTemplate\Layout\Layout::__construct',974'PrestaShop\PrestaShop\Core\Module\HookRepository::getIdByName',975'PrestaShop\PrestaShop\Core\Foundation\Filesystem\FileSystem::listEntriesRecursively',976'PrestaShop\PrestaShop\Core\Module\HookRepository::createHook',977'PrestaShop\PrestaShop\Core\Module\HookRepository::getIdModule',978'PrestaShop\PrestaShop\Core\Module\HookRepository::unHookModulesFromHook',979'PrestaShop\PrestaShop\Core\Foundation\Filesystem\FileSystem::listFilesRecursively',980'PrestaShop\PrestaShop\Core\Foundation\Templating\PresenterInterface::present',981'PrestaShop\PrestaShop\Core\Foundation\Templating\RenderableProxy::setTemplate',982'PrestaShop\PrestaShop\Core\Foundation\Templating\RenderableInterface::setTemplate',983'PrestaShop\PrestaShop\Core\Foundation\Version::__construct',984'PrestaShop\PrestaShop\Core\Foundation\Version::buildFromString',985'PrestaShop\PrestaShop\Core\Foundation\Version::getVersion',986'PrestaShop\PrestaShop\Core\MailTemplate\Layout\LayoutCollection::getLayout',987'PrestaShop\PrestaShop\Core\Foundation\Version::isGreaterThan',988'PrestaShop\PrestaShop\Core\Foundation\Version::isGreaterThanOrEqualTo',989'PrestaShop\PrestaShop\Core\Foundation\Version::isLessThan',990'PrestaShop\PrestaShop\Core\Foundation\Version::isLessThanOrEqualTo',991'PrestaShop\PrestaShop\Core\Foundation\Version::isEqualTo',992'PrestaShop\PrestaShop\Core\Foundation\Version::isNotEqualTo',993'PrestaShop\PrestaShop\Core\Foundation\Version::versionCompare',994'PrestaShop\PrestaShop\Core\Foundation\Version::removeLegacyPrefix',995'PrestaShop\PrestaShop\Core\MailTemplate\Transformation\MailVariablesTransformation::__construct',996'PrestaShop\PrestaShop\Core\MailTemplate\Transformation\MailVariablesTransformation::apply',997'PrestaShop\PrestaShop\Core\Foundation\Exception\InvalidVersionException::__construct',998'PrestaShop\PrestaShop\Core\MailTemplate\Transformation\TransformationInterface::apply',999'PrestaShop\PrestaShop\Core\Foundation\IoC\Container::knows',1000'PrestaShop\PrestaShop\Core\Foundation\IoC\Container::knowsNamespaceAlias',1001'PrestaShop\PrestaShop\Core\Foundation\IoC\Container::bind',1002'PrestaShop\PrestaShop\Core\Foundation\IoC\Container::aliasNamespace',1003'PrestaShop\PrestaShop\Core\MailTemplate\Transformation\TransformationCollectionInterface::contains',1004'PrestaShop\PrestaShop\Core\Foundation\IoC\Container::resolveClassName',1005'PrestaShop\PrestaShop\Core\MailTemplate\Transformation\TransformationCollectionInterface::add',1006'PrestaShop\PrestaShop\Core\MailTemplate\Transformation\TransformationCollectionInterface::remove',1007'PrestaShop\PrestaShop\Core\Foundation\IoC\Container::makeInstanceFromClassName',1008'PrestaShop\PrestaShop\Core\Module\HookRepository::setModuleHookExceptions',1009'PrestaShop\PrestaShop\Core\Foundation\IoC\Container::doMake',1010'PrestaShop\PrestaShop\Core\Module\HookRepository::getModuleHookExceptions',1011'PrestaShop\PrestaShop\Core\Foundation\IoC\Container::make',1012'PrestaShop\PrestaShop\Core\Security\FolderGuardInterface::protectFolder',1013'PrestaShop\PrestaShop\Core\Security\HtaccessFolderGuard::__construct',1014'PrestaShop\PrestaShop\Core\Security\HtaccessFolderGuard::protectFolder',1015'PrestaShop\PrestaShop\Core\Tax\TaxOptionsConfiguration::updateEcotax',1016'PrestaShop\PrestaShop\Core\MailTemplate\ThemeCollectionInterface::contains',1017'PrestaShop\PrestaShop\Core\MailTemplate\ThemeCollectionInterface::add',1018'PrestaShop\PrestaShop\Core\MailTemplate\ThemeCollectionInterface::remove',1019'PrestaShop\PrestaShop\Core\MailTemplate\ThemeCollectionInterface::getByName',1020'PrestaShop\PrestaShop\Core\MailTemplate\ThemeCatalogInterface::getByName',1021'PrestaShop\PrestaShop\Core\MailTemplate\Transformation\CSSInlineTransformation::apply',1022'PrestaShop\PrestaShop\Core\Group\Provider\DefaultGroup::__construct',1023'PrestaShop\PrestaShop\Core\Shop\LogoUploader::update',1024'PrestaShop\PrestaShop\Core\MailTemplate\Transformation\CSSInlineTransformation::getCssContent',1025'PrestaShop\PrestaShop\Core\MailTemplate\MailTemplateGenerator::generateTemplates',1026'PrestaShop\PrestaShop\Core\Payment\PaymentOption::setCallToActionText',1027'PrestaShop\PrestaShop\Core\Payment\PaymentOption::setAdditionalInformation',1028'PrestaShop\PrestaShop\Core\Payment\PaymentOption::setLogo',1029'PrestaShop\PrestaShop\Core\Payment\PaymentOption::setAction',1030'PrestaShop\PrestaShop\Core\Payment\PaymentOption::setInputs',1031'PrestaShop\PrestaShop\Core\Payment\PaymentOption::setForm',1032'PrestaShop\PrestaShop\Core\Payment\PaymentOption::setModuleName',1033'PrestaShop\PrestaShop\Core\Shop\LogoUploader::updateInMultiShopContext',1034'PrestaShop\PrestaShop\Core\Payment\PaymentOption::setBinary',1035'PrestaShop\PrestaShop\Core\MailTemplate\MailTemplateGenerator::generateTemplatePath',1036'PrestaShop\PrestaShop\Core\MailTemplate\Transformation\HTMLToTextTransformation::apply',1037'PrestaShop\PrestaShop\Core\Shop\LogoUploader::uploadIco',1038'PrestaShop\PrestaShop\Core\MailTemplate\Layout\LayoutCollectionInterface::contains',1039'PrestaShop\PrestaShop\Core\MailTemplate\Layout\LayoutCollectionInterface::add',1040'PrestaShop\PrestaShop\Core\MailTemplate\Layout\LayoutCollectionInterface::remove',1041'PrestaShop\PrestaShop\Core\MailTemplate\Layout\LayoutCollectionInterface::getLayout',1042'PrestaShop\PrestaShop\Core\MailTemplate\Transformation\AbstractTransformation::__construct',1043'PrestaShop\PrestaShop\Core\Shop\LogoUploader::getLogoName',1044'PrestaShop\PrestaShop\Core\Language\LanguageRepositoryInterface::getOneByLocale',1045'PrestaShop\PrestaShop\Core\Language\LanguageRepositoryInterface::getOneByIsoCode',1046'PrestaShop\PrestaShop\Core\Language\LanguageRepositoryInterface::getOneByLocaleOrIsoCode',1047'PrestaShop\PrestaShop\Core\MailTemplate\Theme::__construct',1048'PrestaShop\PrestaShop\Core\Language\Pack\LanguagePackInstallerInterface::downloadAndInstallLanguagePack',1049'PrestaShop\PrestaShop\Core\MailTemplate\Theme::setLayouts',1050'PrestaShop\PrestaShop\Core\Language\Pack\Import\LanguagePackImporterInterface::import',1051'PrestaShop\PrestaShop\Core\Meta\MetaDataProviderInterface::getIdByPage',1052'PrestaShop\PrestaShop\Core\MailTemplate\FolderThemeCatalog::__construct',1053'PrestaShop\PrestaShop\Core\Meta\MetaDataProviderInterface::getDefaultMetaPageNameById',1054'PrestaShop\PrestaShop\Core\Language\LanguageActivatorInterface::enable',1055'PrestaShop\PrestaShop\Core\Meta\MetaDataProviderInterface::getModuleMetaPageNameById',1056'PrestaShop\PrestaShop\Core\Language\LanguageActivatorInterface::disable',1057'PrestaShop\PrestaShop\Core\Language\Copier\LanguageCopierConfig::__construct',1058'PrestaShop\PrestaShop\Core\Payment\PaymentOptionFormDecorator::addHiddenSubmitButton',1059'PrestaShop\PrestaShop\Core\Foundation\Database\EntityRepository::__construct',1060'PrestaShop\PrestaShop\Core\Foundation\Database\EntityRepository::__call',1061'PrestaShop\PrestaShop\Core\Foundation\Database\EntityRepository::convertToDbFieldName',1062'PrestaShop\PrestaShop\Core\MailTemplate\FolderThemeCatalog::getByName',1063'PrestaShop\PrestaShop\Core\MailTemplate\ThemeCollection::getByName',1064'PrestaShop\PrestaShop\Core\Foundation\Database\EntityRepository::doFind',1065'PrestaShop\PrestaShop\Core\Foundation\Database\EntityRepository::findOne',1066'PrestaShop\PrestaShop\Core\Product\Search\SortOrder::__construct',1067'PrestaShop\PrestaShop\Core\Foundation\Database\EntityManager\QueryBuilder::quote',1068'PrestaShop\PrestaShop\Core\Module\Configuration\PaymentRestrictionsConfigurator::__construct',1069'PrestaShop\PrestaShop\Core\Foundation\Database\EntityManager\QueryBuilder::buildWhereConditions',1070'PrestaShop\PrestaShop\Core\Product\Search\SortOrder::newFromString',1071'PrestaShop\PrestaShop\Core\Product\Search\SortOrder::setLabel',1072'PrestaShop\PrestaShop\Core\MailTemplate\FolderThemeScanner::scan',1073'PrestaShop\PrestaShop\Core\Product\Search\SortOrder::setEntity',1074'PrestaShop\PrestaShop\Core\Product\Search\SortOrder::setField',1075'PrestaShop\PrestaShop\Core\Module\Configuration\PaymentRestrictionsConfigurator::configureRestrictions',1076'PrestaShop\PrestaShop\Core\Product\Search\SortOrder::setDirection',1077'PrestaShop\PrestaShop\Core\Module\Configuration\PaymentRestrictionsConfigurator::clearCurrentConfiguration',1078'PrestaShop\PrestaShop\Core\MailTemplate\FolderThemeScanner::findThemeLayouts',1079'PrestaShop\PrestaShop\Core\Product\Search\SortOrder::toLegacyOrderBy',1080'PrestaShop\PrestaShop\Core\MailTemplate\FolderThemeScanner::addCoreLayouts',1081'PrestaShop\PrestaShop\Core\Module\Configuration\PaymentRestrictionsConfigurator::insertNewConfiguration',1082'PrestaShop\PrestaShop\Core\MailTemplate\FolderThemeScanner::addModulesLayouts',1083'PrestaShop\PrestaShop\Core\Module\Configuration\PaymentRestrictionsConfigurator::getTableNameForRestriction',1084'PrestaShop\PrestaShop\Core\Foundation\Database\DatabaseInterface::select',1085'PrestaShop\PrestaShop\Core\Foundation\Database\DatabaseInterface::escape',1086'PrestaShop\PrestaShop\Core\Product\Search\Pagination::setPagesCount',1087'PrestaShop\PrestaShop\Core\MailTemplate\FolderThemeScanner::addLayoutsFromFolder',1088'PrestaShop\PrestaShop\Core\Foundation\Database\EntityMetaData::setTableName',1089'PrestaShop\PrestaShop\Core\Product\Search\Pagination::setPage',1090'PrestaShop\PrestaShop\Core\Foundation\Database\EntityMetaData::setEntityClassName',1091'PrestaShop\PrestaShop\Core\Product\Search\Pagination::buildPageLink',1092'PrestaShop\PrestaShop\Core\Foundation\Database\EntityManager::getRepository',1093'PrestaShop\PrestaShop\Core\Foundation\Database\EntityManager::getEntityMetaData',1094'PrestaShop\PrestaShop\Core\Module\WidgetInterface::renderWidget',1095'PrestaShop\PrestaShop\Core\Module\WidgetInterface::getWidgetVariables',1096'PrestaShop\PrestaShop\Core\MailTemplate\FolderThemeScanner::checkThemeFolder',1097'PrestaShop\PrestaShop\Core\Language\LanguageValidatorInterface::isInstalledByLocale',1098'PrestaShop\PrestaShop\Core\Product\Search\Filter::setLabel',1099'PrestaShop\PrestaShop\Core\Product\Search\Filter::setType',1100'PrestaShop\PrestaShop\Core\Image\Deleter\ImageFileDeleterInterface::deleteFromPath',1101'PrestaShop\PrestaShop\Core\Product\Search\Filter::setProperty',1102'PrestaShop\PrestaShop\Core\Image\Deleter\ImageFileDeleterInterface::deleteAllImages',1103'PrestaShop\PrestaShop\Core\Product\Search\Filter::getProperty',1104'PrestaShop\PrestaShop\Core\Product\Search\Filter::setValue',1105'PrestaShop\PrestaShop\Core\Image\Deleter\ImageFileDeleter::deleteFromPath',1106'PrestaShop\PrestaShop\Core\Product\Search\Filter::setMagnitude',1107'PrestaShop\PrestaShop\Core\Product\Search\Filter::setActive',1108'PrestaShop\PrestaShop\Core\Product\Search\Filter::setDisplayed',1109'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery::setQueryType',1110'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery::setIdCategory',1111'PrestaShop\PrestaShop\Core\Product\Search\Filter::setNextEncodedFacets',1112'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery::setIdManufacturer',1113'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery::setIdSupplier',1114'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery::setResultsPerPage',1115'PrestaShop\PrestaShop\Core\Module\HookConfigurator::addHook',1116'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery::setPage',1117'PrestaShop\PrestaShop\Core\Module\DataProvider\TabModuleListProviderInterface::getTabModules',1118'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery::setSearchString',1119'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery::setSearchTag',1120'PrestaShop\PrestaShop\Core\Product\Search\Facet::setLabel',1121'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery::setEncodedFacets',1122'PrestaShop\PrestaShop\Core\Product\Search\Facet::setType',1123'PrestaShop\PrestaShop\Core\Image\Deleter\ImageFileDeleter::deleteAllImages',1124'PrestaShop\PrestaShop\Core\Product\Search\Facet::setProperty',1125'PrestaShop\PrestaShop\Core\Product\Search\Facet::getProperty',1126'PrestaShop\PrestaShop\Core\Image\Deleter\ImageFileDeleter::deleteByPattern',1127'PrestaShop\PrestaShop\Core\Product\Search\Facet::setMultipleSelectionAllowed',1128'PrestaShop\PrestaShop\Core\Product\Search\Facet::setDisplayed',1129'PrestaShop\PrestaShop\Core\Product\Search\Facet::setWidgetType',1130'PrestaShop\PrestaShop\Core\Image\ImageTypeRepository::createType',1131'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchResult::setTotalProductsCount',1132'PrestaShop\PrestaShop\Core\Image\ImageTypeRepository::getIdByName',1133'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchResult::setEncodedFacets',1134'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchContext::setIdShop',1135'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchContext::setIdLang',1136'PrestaShop\PrestaShop\Core\Image\Parser\ImageTagSourceParser::__construct',1137'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchContext::setIdCurrency',1138'PrestaShop\PrestaShop\Core\Product\Search\ProductSearchContext::setIdCustomer',1139'PrestaShop\PrestaShop\Core\Product\Search\Exception\InvalidSortOrderDirectionException::__construct',1140'PrestaShop\PrestaShop\Core\Product\Search\URLFragmentSerializer::unserialize',1141'PrestaShop\PrestaShop\Core\Product\Search\URLFragmentSerializer::serializeListOfStrings',1142'PrestaShop\PrestaShop\Core\Product\Search\URLFragmentSerializer::unserializeListOfStrings',1143'PrestaShop\PrestaShop\Core\Product\ProductExtraContent::setTitle',1144'PrestaShop\PrestaShop\Core\Product\ProductExtraContent::setContent',1145'PrestaShop\PrestaShop\Core\Product\ProductExtraContent::addAttr',1146'PrestaShop\PrestaShop\Core\Search\SearchParametersInterface::getFiltersFromRequest',1147'PrestaShop\PrestaShop\Core\Product\ProductExtraContent::setAttr',1148'PrestaShop\PrestaShop\Core\Search\SearchParametersInterface::getFiltersFromRepository',1149'PrestaShop\PrestaShop\Core\Search\Filters::__construct',1150'PrestaShop\PrestaShop\Core\Cart\Fees::processCalculation',1151'PrestaShop\PrestaShop\Core\Search\Filters::setFilterId',1152'PrestaShop\PrestaShop\Core\Search\ControllerAction::fromString',1153'PrestaShop\PrestaShop\Core\Search\ControllerAction::getControllerName',1154'PrestaShop\PrestaShop\Core\Product\ProductCsvExporter::trans',1155'PrestaShop\PrestaShop\Core\Search\ControllerAction::getActionName',1156'PrestaShop\PrestaShop\Core\Search\Builder\AbstractRepositoryFiltersBuilder::__construct',1157'PrestaShop\PrestaShop\Core\Product\ProductAdminDrawer::setIcon',1158'PrestaShop\PrestaShop\Core\Product\ProductAdminDrawer::setId',1159'PrestaShop\PrestaShop\Core\Product\ProductAdminDrawer::setLink',1160'PrestaShop\PrestaShop\Core\Product\ProductAdminDrawer::setTitle',1161'PrestaShop\PrestaShop\Core\Search\Builder\RepositoryFiltersBuilder::getParametersFromRepository',1162'PrestaShop\PrestaShop\Core\Cart\Fees::setCart',1163'PrestaShop\PrestaShop\Core\Checkout\TermsAndConditions::setIdentifier',1164'PrestaShop\PrestaShop\Core\Checkout\TermsAndConditions::setText',1165'PrestaShop\PrestaShop\Core\Search\SearchParameters::getFiltersFromRequest',1166'PrestaShop\PrestaShop\Core\Checkout\TermsAndConditions::createLinkId',1167'PrestaShop\PrestaShop\Core\Image\ImageProviderInterface::getPath',1168'PrestaShop\PrestaShop\Core\Image\Uploader\ImageUploaderInterface::upload',1169'PrestaShop\PrestaShop\Core\Cart\CartRuleCalculator::setCartRules',1170'PrestaShop\PrestaShop\Core\Search\SearchParameters::getFiltersFromRepository',1171'PrestaShop\PrestaShop\Core\Cart\CartRuleCalculator::applyCartRule',1172'PrestaShop\PrestaShop\Core\AttributeGroup\AttributeGroupViewDataProviderInterface::isColorGroup',1173'PrestaShop\PrestaShop\Core\AttributeGroup\AttributeGroupViewDataProviderInterface::getAttributeGroupNameById',1174'PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepository::__construct',1175'PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepository::getInstanceByName',1176'PrestaShop\PrestaShop\Core\B2b\B2bFeature::update',1177'PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepository::getFilteredList',1178'PrestaShop\PrestaShop\Core\Addon\AddonsCollection::offsetExists',1179'PrestaShop\PrestaShop\Core\Addon\AddonsCollection::offsetGet',1180'PrestaShop\PrestaShop\Core\Addon\AddonsCollection::offsetSet',1181'PrestaShop\PrestaShop\Core\Addon\AddonsCollection::offsetUnset',1182'PrestaShop\PrestaShop\Core\Addon\AddonsCollection::containsKey',1183'PrestaShop\PrestaShop\Core\CMS\CmsPageViewDataProviderInterface::getView',1184'PrestaShop\PrestaShop\Core\Addon\AddonsCollection::get',1185'PrestaShop\PrestaShop\Core\CMS\CmsPageViewDataProvider::getView',1186'PrestaShop\PrestaShop\Core\Addon\AddonsCollection::set',1187'PrestaShop\PrestaShop\Core\Addon\AddonsCollection::removeByKey',1188'PrestaShop\PrestaShop\Core\CMS\CmsPageViewDataProvider::getBreadcrumbTree',1189'PrestaShop\PrestaShop\Core\CMS\CMSRepository::i10nFindAll',1190'PrestaShop\PrestaShop\Core\CMS\CMSRepository::i10nFindOneById',1191'PrestaShop\PrestaShop\Core\Kpi\Row\KpiRowInterface::setAllowRefresh',1192'PrestaShop\PrestaShop\Core\Cart\CartRuleCalculator::setCalculator',1193'PrestaShop\PrestaShop\Core\Cart\CartRuleCalculator::convertAmountBetweenCurrencies',1194'PrestaShop\PrestaShop\Core\Cart\CartRuleCalculator::setCartRows',1195'PrestaShop\PrestaShop\Core\Kpi\Row\HookableKpiRowFactory::__construct',1196'PrestaShop\PrestaShop\Core\Cart\CartRuleData::__construct',1197'PrestaShop\PrestaShop\Core\Cart\CartRuleData::setRuleData',1198'PrestaShop\PrestaShop\Core\Kpi\Row\HookableKpiRowFactory::validateIdentifier',1199'PrestaShop\PrestaShop\Core\Support\ContactRepositoryInterface::findAllByLangId',1200'PrestaShop\PrestaShop\Core\Kpi\Row\HookableKpiRowFactory::getHookName',1201'PrestaShop\PrestaShop\Core\Cart\CartRow::__construct',1202'PrestaShop\PrestaShop\Core\Filter\CollectionFilter::filter',1203'PrestaShop\PrestaShop\Core\Kpi\Row\KpiRow::setAllowRefresh',1204'PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepository::getModule',1205'PrestaShop\PrestaShop\Core\Cart\CartRow::setRowData',1206'PrestaShop\PrestaShop\Core\Kpi\Exception\InvalidArgumentException::invalidKpi',1207'PrestaShop\PrestaShop\Core\Kpi\Exception\InvalidArgumentException::invalidIdentifier',1208'PrestaShop\PrestaShop\Core\String\CharacterCleaner::cleanNonUnicodeSupport',1209'PrestaShop\PrestaShop\Core\Cart\CartRow::getProductPrice',1210'PrestaShop\PrestaShop\Core\Feature\FeatureInterface::update',1211'PrestaShop\PrestaShop\Core\Routing\EntityLinkBuilderFactory::getBuilderFor',1212'PrestaShop\PrestaShop\Core\Filter\FrontEndObject\MainFilter::filter',1213'PrestaShop\PrestaShop\Core\Routing\EntityLinkBuilderInterface::getViewLink',1214'PrestaShop\PrestaShop\Core\Routing\EntityLinkBuilderInterface::getEditLink',1215'PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepository::getModuleAttributes',1216'PrestaShop\PrestaShop\Core\Routing\EntityLinkBuilderInterface::canBuild',1217'PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepository::getModuleById',1218'PrestaShop\PrestaShop\Core\Filter\FilterInterface::filter',1219'PrestaShop\PrestaShop\Core\Filter\FrontEndObject\CartFilter::__construct',1220'PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepository::getModulesOnDisk',1221'PrestaShop\PrestaShop\Core\Filter\HashMapWhitelistFilter::whitelist',1222'PrestaShop\PrestaShop\Core\Filter\HashMapWhitelistFilter::removeFromWhitelist',1223'PrestaShop\PrestaShop\Core\Backup\Listing\BackupGridDataFactory::__construct',1224'PrestaShop\PrestaShop\Core\Filter\HashMapWhitelistFilter::filter',1225'PrestaShop\PrestaShop\Core\Cart\CartRow::applyPercentageDiscount',1226'PrestaShop\PrestaShop\Core\Addon\Module\ModuleInterface::onUpgrade',1227'PrestaShop\PrestaShop\Core\Addon\AddonRepositoryInterface::getInstanceByName',1228'PrestaShop\PrestaShop\Core\Addon\AddonInterface::onUpgrade',1229'PrestaShop\PrestaShop\Core\Addon\AddonListFilter::addOrigin',1230'PrestaShop\PrestaShop\Core\Addon\AddonListFilter::addStatus',1231'PrestaShop\PrestaShop\Core\Addon\AddonListFilter::addType',1232'PrestaShop\PrestaShop\Core\Addon\AddonListFilter::hasOrigin',1233'PrestaShop\PrestaShop\Core\Addon\AddonListFilter::hasStatus',1234'PrestaShop\PrestaShop\Core\Addon\AddonListFilter::hasType',1235'PrestaShop\PrestaShop\Core\Filter\HashMapWhitelistFilter::addWhitelistItem',1236'PrestaShop\PrestaShop\Core\Addon\AddonListFilter::removeOrigin',1237'PrestaShop\PrestaShop\Core\Addon\AddonListFilter::removeStatus',1238'PrestaShop\PrestaShop\Core\Cart\CartRuleCollection::getKey',1239'PrestaShop\PrestaShop\Core\Addon\AddonListFilter::removeType',1240'PrestaShop\PrestaShop\Core\Addon\AddonListFilter::setOrigin',1241'PrestaShop\PrestaShop\Core\Addon\AddonListFilter::setType',1242'PrestaShop\PrestaShop\Core\Addon\AddonListFilter::setStatus',1243'PrestaShop\PrestaShop\Core\Export\FileWriter\ExportCsvFileWriter::write',1244'PrestaShop\PrestaShop\Core\Cart\Calculator::__construct',1245'PrestaShop\PrestaShop\Core\Export\FileWriter\FileWriterInterface::write',1246'PrestaShop\PrestaShop\Core\ConfigurationInterface::get',1247'PrestaShop\PrestaShop\Core\ConfigurationInterface::set',1248'PrestaShop\PrestaShop\Core\Employee\EmployeeDataProviderInterface::getEmployeeHashedPassword',1249'PrestaShop\PrestaShop\Core\Employee\EmployeeDataProviderInterface::isSuperAdmin',1250'PrestaShop\PrestaShop\Core\Employee\Access\ProfileAccessCheckerInterface::canEmployeeAccessProfile',1251'PrestaShop\PrestaShop\Core\Cart\Calculator::processCalculation',1252'PrestaShop\PrestaShop\Core\Employee\Access\ProfileAccessChecker::__construct',1253'PrestaShop\PrestaShop\Core\Cart\Calculator::getTotal',1254'PrestaShop\PrestaShop\Core\Employee\Access\ProfileAccessChecker::canEmployeeAccessProfile',1255'PrestaShop\PrestaShop\Core\Employee\Access\EmployeeFormAccessCheckerInterface::isRestrictedAccess',1256'PrestaShop\PrestaShop\Core\Employee\Access\EmployeeFormAccessCheckerInterface::canAccessEditFormFor',1257'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeRepository::getInstanceByName',1258'PrestaShop\PrestaShop\Core\Employee\NavigationMenuTogglerInterface::toggleNavigationMenuInCookies',1259'PrestaShop\PrestaShop\Core\Employee\FormLanguageChangerInterface::changeLanguageInCookies',1260'PrestaShop\PrestaShop\Core\Stock\StockManager::updatePackQuantity',1261'PrestaShop\PrestaShop\Core\Cart\Calculator::setCart',1262'PrestaShop\PrestaShop\Core\Cart\Calculator::setCarrierId',1263'PrestaShop\PrestaShop\Core\Import\Handler\ImportHandlerInterface::supports',1264'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeRepository::getConfigFromFile',1265'PrestaShop\PrestaShop\Core\Import\Handler\ImportHandlerFinderInterface::find',1266'PrestaShop\PrestaShop\Core\Import\StringNormalizerInterface::normalize',1267'PrestaShop\PrestaShop\Core\Cart\Calculator::calculateFees',1268'PrestaShop\PrestaShop\Core\Stock\StockManager::updatePacksQuantityContainingProduct',1269'PrestaShop\PrestaShop\Core\Stock\StockManager::updateQuantity',1270'PrestaShop\PrestaShop\Core\Import\Configuration\ImportRuntimeConfigInterface::addSharedDataItem',1271'PrestaShop\PrestaShop\Core\Cart\CartRowCollection::getKey',1272'PrestaShop\PrestaShop\Core\Import\Configuration\ImportRuntimeConfigInterface::setNumberOfProcessedRows',1273'PrestaShop\PrestaShop\Core\Import\Configuration\ImportRuntimeConfigInterface::setRequestSizeInBytes',1274'PrestaShop\PrestaShop\Core\Import\Configuration\ImportRuntimeConfigInterface::setPostSizeLimitInBytes',1275'PrestaShop\PrestaShop\Core\Import\Configuration\ImportRuntimeConfigInterface::setTotalNumberOfRows',1276'PrestaShop\PrestaShop\Core\Stock\StockManager::checkIfMustSendLowStockAlert',1277'PrestaShop\PrestaShop\Core\Cart\AmountImmutable::__construct',1278'PrestaShop\PrestaShop\Core\Addon\Theme\Theme::get',1279'PrestaShop\PrestaShop\Core\Import\Configuration\ImportConfig::__construct',1280'PrestaShop\PrestaShop\Core\Addon\Theme\Theme::has',1281'PrestaShop\PrestaShop\Core\Cart\AmountImmutable::setTaxIncluded',1282'PrestaShop\PrestaShop\Core\Cart\AmountImmutable::setTaxExcluded',1283'PrestaShop\PrestaShop\Core\Stock\StockManager::isProductQuantityUnderAlertThreshold',1284'PrestaShop\PrestaShop\Core\Addon\AddonManagerInterface::install',1285'PrestaShop\PrestaShop\Core\Addon\AddonManagerInterface::uninstall',1286'PrestaShop\PrestaShop\Core\Addon\AddonManagerInterface::upgrade',1287'PrestaShop\PrestaShop\Core\Addon\AddonManagerInterface::enable',1288'PrestaShop\PrestaShop\Core\Addon\AddonManagerInterface::disable',1289'PrestaShop\PrestaShop\Core\Addon\AddonManagerInterface::reset',1290'PrestaShop\PrestaShop\Core\Addon\AddonManagerInterface::getError',1291'PrestaShop\PrestaShop\Core\Stock\StockManager::isCombinationQuantityUnderAlertThreshold',1292'PrestaShop\PrestaShop\Core\Addon\Theme\Theme::getPageSpecificAssets',1293'PrestaShop\PrestaShop\Core\Stock\StockManager::sendLowStockAlert',1294'PrestaShop\PrestaShop\Core\Addon\Theme\Theme::onUpgrade',1295'PrestaShop\PrestaShop\Core\Addon\Theme\Theme::getLayoutNameForPage',1296'PrestaShop\PrestaShop\Core\Addon\Theme\Theme::getLayoutRelativePathForPage',1297'PrestaShop\PrestaShop\Core\Addon\Theme\Theme::getPageSpecificCss',1298'PrestaShop\PrestaShop\Core\Addon\Theme\Theme::getPageSpecificJs',1299'PrestaShop\PrestaShop\Core\Stock\StockManager::saveMovement',1300'PrestaShop\PrestaShop\Core\Import\Configuration\ImportRuntimeConfig::__construct',1301'PrestaShop\PrestaShop\Core\Import\Configuration\ImportRuntimeConfig::addSharedDataItem',1302'PrestaShop\PrestaShop\Core\Stock\StockManager::prepareMovement',1303'PrestaShop\PrestaShop\Core\Import\Configuration\ImportRuntimeConfig::setNumberOfProcessedRows',1304'PrestaShop\PrestaShop\Core\Import\Configuration\ImportRuntimeConfig::setRequestSizeInBytes',1305'PrestaShop\PrestaShop\Core\Import\Configuration\ImportRuntimeConfig::setPostSizeLimitInBytes',1306'PrestaShop\PrestaShop\Core\Import\Configuration\ImportRuntimeConfig::setTotalNumberOfRows',1307'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeValidator::getErrors',1308'PrestaShop\PrestaShop\Core\Import\File\DataRow\DataRowInterface::offsetGet',1309'PrestaShop\PrestaShop\Core\Import\File\DataRow\DataRowCollection::offsetExists',1310'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeCollection::offsetExists',1311'PrestaShop\PrestaShop\Core\Import\File\DataRow\DataRowCollection::offsetGet',1312'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeCollection::offsetGet',1313'PrestaShop\PrestaShop\Core\Import\File\DataRow\DataRowCollection::offsetSet',1314'PrestaShop\PrestaShop\Core\Import\File\DataRow\DataRowCollection::offsetUnset',1315'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeCollection::offsetSet',1316'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeCollection::offsetUnset',1317'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeCollection::containsKey',1318'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeCollection::get',1319'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeCollection::set',1320'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeCollection::removeByKey',1321'PrestaShop\PrestaShop\Core\Import\File\DataRow\Factory\DataRowCollectionFactory::buildFromFile',1322'PrestaShop\PrestaShop\Core\Import\File\DataRow\Factory\DataRowCollectionFactoryInterface::buildFromFile',1323'PrestaShop\PrestaShop\Core\Import\File\DataCell\DataCell::__construct',1324'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::install',1325'PrestaShop\PrestaShop\Core\Import\File\CsvFileReader::__construct',1326'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::install',1327'PrestaShop\PrestaShop\Core\Import\File\DataRow\DataRow::offsetExists',1328'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::uninstall',1329'PrestaShop\PrestaShop\Core\Import\File\DataRow\DataRow::offsetGet',1330'PrestaShop\PrestaShop\Core\Import\File\DataRow\DataRow::offsetSet',1331'PrestaShop\PrestaShop\Core\Import\File\DataRow\DataRow::offsetUnset',1332'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::uninstall',1333'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::upgrade',1334'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::enable',1335'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::upgrade',1336'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::disable',1337'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::disable',1338'PrestaShop\PrestaShop\Core\Import\File\DataRow\DataRowCollectionPresenter::normalizeDataRow',1339'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::reset',1340'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::getError',1341'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::getErrors',1342'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::enable',1343'PrestaShop\PrestaShop\Core\Import\EntityField\EntityField::__construct',1344'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::disable_mobile',1345'PrestaShop\PrestaShop\Core\Import\File\FileRemoval::remove',1346'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::disableMobile',1347'PrestaShop\PrestaShop\Core\Import\Entity\ImportEntityDeleterInterface::deleteAll',1348'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::enable_mobile',1349'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::enableMobile',1350'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::installFromZip',1351'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::reset',1352'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::isEnabled',1353'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::isInstalled',1354'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::getModuleIdByName',1355'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::removeModuleFromDisk',1356'PrestaShop\PrestaShop\Core\Data\AbstractTypedCollection::removeElement',1357'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::getError',1358'PrestaShop\PrestaShop\Core\Import\EntityField\Provider\CombinationFieldsProvider::trans',1359'PrestaShop\PrestaShop\Core\Data\AbstractTypedCollection::offsetSet',1360'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::dispatch',1361'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::checkIsInstalled',1362'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::checkConfirmationGiven',1363'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::saveTheme',1364'PrestaShop\PrestaShop\Core\Data\AbstractTypedCollection::contains',1365'PrestaShop\PrestaShop\Core\Data\AbstractTypedCollection::indexOf',1366'PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::checkAndClearCache',1367'PrestaShop\PrestaShop\Core\Import\EntityField\Provider\CustomerFieldsProvider::trans',1368'PrestaShop\PrestaShop\Core\Import\EntityField\Provider\EntityFieldsProviderFinderInterface::find',1369'PrestaShop\PrestaShop\Core\Data\AbstractTypedCollection::set',1370'PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepositoryInterface::getInstanceByName',1371'PrestaShop\PrestaShop\Core\Import\EntityField\Provider\EntityFieldsProviderFinder::find',1372'PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepositoryInterface::getModule',1373'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::getDefaultDomains',1374'PrestaShop\PrestaShop\Core\Data\AbstractTypedCollection::add',1375'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager::handleImport',1376'PrestaShop\PrestaShop\Core\Addon\Module\Exception\UnconfirmedModuleActionException::setAction',1377'PrestaShop\PrestaShop\Core\Addon\Module\Exception\UnconfirmedModuleActionException::setSubject',1378'PrestaShop\PrestaShop\Core\Import\EntityField\Provider\AliasFieldsProvider::trans',1379'PrestaShop\PrestaShop\Core\Data\AbstractTypedCollection::checkElementType',1380'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\EditManufacturerCommand::__construct',1381'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\EditManufacturerCommand::setName',1382'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\EditManufacturerCommand::setLocalizedDescriptions',1383'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\EditManufacturerCommand::setLocalizedShortDescriptions',1384'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\EditManufacturerCommand::setLocalizedMetaTitles',1385'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\EditManufacturerCommand::setLocalizedMetaDescriptions',1386'PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer::read',1387'PrestaShop\PrestaShop\Core\Import\EntityField\Provider\StoreContactFieldsProvider::trans',1388'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\EditManufacturerCommand::setLocalizedMetaKeywords',1389'PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer::write',1390'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\EditManufacturerCommand::setEnabled',1391'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\EditManufacturerCommand::setAssociatedShops',1392'PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer::propagateRead',1393'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\DeleteManufacturerCommand::__construct',1394'PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer::propagateWrite',1395'PrestaShop\PrestaShop\Core\Import\EntityField\Provider\SupplierFieldsProvider::trans',1396'PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer::saveReadPropagationResult',1397'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\ToggleManufacturerStatusCommand::__construct',1398'PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer::saveWritePropagationResult',1399'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\ToggleManufacturerStatusCommand::assertIsBool',1400'PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer::beforeWrite',1401'PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer::afterWrite',1402'PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer::doRead',1403'PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer::doWrite',1404'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\BulkToggleManufacturerStatusCommand::__construct',1405'PrestaShop\PrestaShop\Core\Domain\Manufacturer\ValueObject\ManufacturerId::__construct',1406'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeExporter::copyTheme',1407'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\BulkToggleManufacturerStatusCommand::assertIsBool',1408'PrestaShop\PrestaShop\Core\Domain\Manufacturer\ValueObject\ManufacturerId::assertIsIntegerGreaterThanZero',1409'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeExporter::copyModuleDependencies',1410'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeExporter::copyTranslations',1411'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Command\AddManufacturerCommand::__construct',1412'PrestaShop\PrestaShop\Core\Addon\Theme\ThemeExporter::createZip',1413'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Query\GetManufacturerForEditing::__construct',1414'PrestaShop\PrestaShop\Core\Domain\Manufacturer\Query\GetManufacturerForViewing::__construct',1415'PrestaShop\PrestaShop\Core\Addon\Theme\Exception\ThemeAlreadyExistsException::__construct',1416'PrestaShop\PrestaShop\Core\Domain\Manufacturer\QueryResult\EditableManufacturer::__construct',1417'PrestaShop\PrestaShop\Core\Domain\Manufacturer\QueryResult\ViewableManufacturer::__construct',1418'PrestaShop\PrestaShop\Core\Import\EntityField\Provider\ProductFieldsProvider::trans',1419'PrestaShop\PrestaShop\Core\Domain\Order\ValueObject\OrderId::__construct',1420'PrestaShop\PrestaShop\Core\Domain\Order\ValueObject\OrderId::assertIntegerIsGreaterThanZero',1421'PrestaShop\PrestaShop\Core\Import\EntityField\Provider\AddressFieldsProvider::trans',1422'PrestaShop\PrestaShop\Core\Import\EntityField\Provider\CategoryFieldsProvider::trans',1423'PrestaShop\PrestaShop\Core\Domain\Order\Command\DuplicateOrderCartCommand::__construct',1424'PrestaShop\PrestaShop\Core\Domain\Order\Command\ChangeOrderCurrencyCommand::__construct',1425'PrestaShop\PrestaShop\Core\Import\EntityField\EntityFieldCollection::offsetExists',1426'PrestaShop\PrestaShop\Core\Import\EntityField\EntityFieldCollection::offsetGet',1427'PrestaShop\PrestaShop\Core\Import\EntityField\EntityFieldCollection::offsetSet',1428'PrestaShop\PrestaShop\Core\Import\EntityField\EntityFieldCollection::offsetUnset',1429'PrestaShop\PrestaShop\Core\Import\Sample\SampleFileProviderInterface::getFile',1430'PrestaShop\PrestaShop\Core\Import\Sample\SampleFileProvider::getFile',1431'PrestaShop\PrestaShop\Core\Import\CsvValueSeparatorNormalizer::normalize',1432'PrestaShop\PrestaShop\Core\Import\Entity::getFromName',1433'PrestaShop\PrestaShop\Core\Domain\Order\Command\DeleteCartRuleFromOrderCommand::__construct',1434'PrestaShop\PrestaShop\Core\Domain\Order\Command\AddOrderFromBackOfficeCommand::__construct',1435'PrestaShop\PrestaShop\Core\Domain\Order\Command\AddOrderFromBackOfficeCommand::assertIsModuleName',1436'PrestaShop\PrestaShop\Core\Domain\Order\Command\SetInternalOrderNoteCommand::__construct',1437'PrestaShop\PrestaShop\Core\Domain\Order\Command\AddOrderFromBackOfficeCommand::assertOrderStateIsPositiveInt',1438'PrestaShop\PrestaShop\Core\Domain\Order\Command\SetInternalOrderNoteCommand::assertInternalNoteIsString',1439'PrestaShop\PrestaShop\Core\Domain\Order\Command\ChangeOrderInvoiceAddressCommand::__construct',1440'PrestaShop\PrestaShop\Core\Domain\Order\Command\AddCartRuleToOrderCommand::__construct',1441'PrestaShop\PrestaShop\Core\Domain\Order\Exception\InvalidCancelProductException::__construct',1442'PrestaShop\PrestaShop\Core\Domain\Order\Command\AddCartRuleToOrderCommand::assertCartRuleNameIsNotEmpty',1443'PrestaShop\PrestaShop\Core\Domain\Order\Payment\ValueObject\OrderPaymentId::__construct',1444'PrestaShop\PrestaShop\Core\Domain\Order\Exception\OrderNotFoundException::__construct',1445'PrestaShop\PrestaShop\Core\Domain\Order\Command\UpdateOrderStatusCommand::__construct',1446'PrestaShop\PrestaShop\Core\Domain\Order\Exception\InvalidRefundException::__construct',1447'PrestaShop\PrestaShop\Core\Domain\Order\Exception\DuplicateProductInOrderInvoiceException::__construct',1448'PrestaShop\PrestaShop\Core\Domain\Order\Command\BulkChangeOrderStatusCommand::__construct',1449'PrestaShop\PrestaShop\Core\Domain\Order\Payment\Command\AddPaymentCommand::assertPaymentMethodIsGenericName',1450'PrestaShop\PrestaShop\Core\Domain\Order\Exception\InvalidOrderStateException::__construct',1451'PrestaShop\PrestaShop\Core\Domain\Order\Command\ChangeOrderDeliveryAddressCommand::__construct',1452'PrestaShop\PrestaShop\Core\Domain\Order\Exception\ChangeOrderStatusException::__construct',1453'PrestaShop\PrestaShop\Core\Domain\Configuration\Command\SwitchDebugModeCommand::__construct',1454'PrestaShop\PrestaShop\Core\Domain\Configuration\ShopConfigurationInterface::get',1455'PrestaShop\PrestaShop\Core\Domain\Configuration\ShopConfigurationInterface::set',1456'PrestaShop\PrestaShop\Core\Domain\Configuration\ShopConfigurationInterface::has',1457'PrestaShop\PrestaShop\Core\Domain\Order\Invoice\ValueObject\OrderInvoiceId::__construct',1458'PrestaShop\PrestaShop\Core\Domain\ValueObject\Email::__construct',1459'PrestaShop\PrestaShop\Core\Domain\ValueObject\Email::assertEmailIsNotEmpty',1460'PrestaShop\PrestaShop\Core\Domain\ValueObject\Email::assertEmailDoesNotExceedAllowedLength',1461'PrestaShop\PrestaShop\Core\Domain\Order\Invoice\Command\GenerateInvoiceCommand::__construct',1462'PrestaShop\PrestaShop\Core\Domain\Order\Product\Command\DeleteProductFromOrderCommand::__construct',1463'PrestaShop\PrestaShop\Core\Domain\ValueObject\Email::assertEmailIsString',1464'PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\ValueObject\ShowcaseCard::__construct',1465'PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\ValueObject\ShowcaseCard::isSupported',1466'PrestaShop\PrestaShop\Core\Domain\Contact\ValueObject\ContactId::__construct',1467'PrestaShop\PrestaShop\Core\Domain\Contact\ValueObject\ContactId::assertIsIntegerOrMoreThanZero',1468'PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\Command\CloseShowcaseCardCommand::__construct',1469'PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\Query\GetShowcaseCardIsClosed::__construct',1470'PrestaShop\PrestaShop\Core\Domain\Category\QueryResult\EditableCategory::__construct',1471'PrestaShop\PrestaShop\Core\Domain\Contact\QueryResult\EditableContact::__construct',1472'PrestaShop\PrestaShop\Core\Domain\CreditSlip\ValueObject\CreditSlipId::__construct',1473'PrestaShop\PrestaShop\Core\Domain\CreditSlip\ValueObject\CreditSlipId::assertIsIntegerGreaterThanZero',1474'PrestaShop\PrestaShop\Core\Domain\Contact\Command\AddContactCommand::__construct',1475'PrestaShop\PrestaShop\Core\Domain\Contact\Command\AddContactCommand::setEmail',1476'PrestaShop\PrestaShop\Core\Domain\Category\Command\EditCategoryCommand::__construct',1477'PrestaShop\PrestaShop\Core\Domain\Category\ValueObject\CategoryId::__construct',1478'PrestaShop\PrestaShop\Core\Domain\Category\Command\EditCategoryCommand::setParentCategoryId',1479'PrestaShop\PrestaShop\Core\Domain\Category\ValueObject\CategoryId::setCategoryId',1480'PrestaShop\PrestaShop\Core\Domain\Category\ValueObject\CategoryDeleteMode::__construct',1481'PrestaShop\PrestaShop\Core\Domain\Category\ValueObject\CategoryDeleteMode::setMode',1482'PrestaShop\PrestaShop\Core\Domain\Category\Command\UpdateCategoryPositionCommand::__construct',1483'PrestaShop\PrestaShop\Core\Domain\Contact\Command\AbstractContactCommand::assertIsGenericName',1484'PrestaShop\PrestaShop\Core\Domain\Category\Command\EditCategoryCommand::setIsActive',1485'PrestaShop\PrestaShop\Core\Domain\Category\ValueObject\MenuThumbnailId::__construct',1486'PrestaShop\PrestaShop\Core\Domain\Category\Command\BulkUpdateCategoriesStatusCommand::__construct',1487'PrestaShop\PrestaShop\Core\Domain\Category\ValueObject\MenuThumbnailId::assertMenuThumbnailIsWithinAllowedValueRange',1488'PrestaShop\PrestaShop\Core\Domain\Contact\Command\EditContactCommand::__construct',1489'PrestaShop\PrestaShop\Core\Domain\Category\Command\BulkUpdateCategoriesStatusCommand::setNewStatus',1490'PrestaShop\PrestaShop\Core\Domain\Category\Command\SetCategoryIsEnabledCommand::__construct',1491'PrestaShop\PrestaShop\Core\Domain\Category\Command\DeleteCategoryCommand::__construct',1492'PrestaShop\PrestaShop\Core\Domain\Contact\Command\EditContactCommand::setEmail',1493'PrestaShop\PrestaShop\Core\Domain\Contact\Command\EditContactCommand::setIsMessagesSavingEnabled',1494'PrestaShop\PrestaShop\Core\Domain\Category\Command\EditRootCategoryCommand::__construct',1495'PrestaShop\PrestaShop\Core\Domain\Category\Query\GetCategoryForEditing::__construct',1496'PrestaShop\PrestaShop\Core\Domain\Category\Query\GetCategoryIsEnabled::__construct',1497'PrestaShop\PrestaShop\Core\Domain\Contact\Query\GetContactForEditing::__construct',1498'PrestaShop\PrestaShop\Core\Domain\Category\Command\EditRootCategoryCommand::setIsActive',1499'PrestaShop\PrestaShop\Core\Domain\Category\Exception\CategoryNotFoundException::__construct',1500'PrestaShop\PrestaShop\Core\Domain\Category\Command\AddCategoryCommand::__construct',1501'PrestaShop\PrestaShop\Core\Domain\Category\Command\AddCategoryCommand::setParentCategoryId',1502'PrestaShop\PrestaShop\Core\Domain\Category\Command\AddCategoryCommand::setIsActive',1503'PrestaShop\PrestaShop\Core\Domain\Category\Command\DeleteCategoryMenuThumbnailImageCommand::__construct',1504'PrestaShop\PrestaShop\Core\Domain\Attachment\Exception\BulkDeleteAttachmentsException::__construct',1505'PrestaShop\PrestaShop\Core\Domain\Category\Command\BulkDeleteCategoriesCommand::__construct',1506'PrestaShop\PrestaShop\Core\Domain\Category\Command\BulkDeleteCategoriesCommand::setDeleteMode',1507'PrestaShop\PrestaShop\Core\Domain\Attachment\Exception\CannotUnlinkAttachmentException::__construct',1508'PrestaShop\PrestaShop\Core\Domain\Category\Command\DeleteCategoryCoverImageCommand::__construct',1509'PrestaShop\PrestaShop\Core\Domain\Category\Command\AddRootCategoryCommand::__construct',1510'PrestaShop\PrestaShop\Core\Domain\Category\Command\AddRootCategoryCommand::setIsActive',1511'PrestaShop\PrestaShop\Core\Domain\CustomerService\Command\UpdateCustomerThreadStatusCommand::__construct',1512'PrestaShop\PrestaShop\Core\Domain\CustomerService\ValueObject\CustomerThreadStatus::__construct',1513'PrestaShop\PrestaShop\Core\Domain\CustomerService\Command\ReplyToCustomerThreadCommand::__construct',1514'PrestaShop\PrestaShop\Core\Domain\CustomerService\ValueObject\CustomerThreadId::__construct',1515'PrestaShop\PrestaShop\Core\Domain\CustomerService\Query\GetCustomerServiceSignature::__construct',1516'PrestaShop\PrestaShop\Core\Domain\CustomerService\Query\GetCustomerThreadForViewing::__construct',1517'PrestaShop\PrestaShop\Core\Domain\CustomerService\CommandHandler\UpdateCustomerThreadStatusHandler::__construct',1518'PrestaShop\PrestaShop\Core\Domain\Meta\ValueObject\MetaId::__construct',1519'PrestaShop\PrestaShop\Core\Domain\Meta\ValueObject\MetaId::assertIsIntAndLargerThanZero',1520'PrestaShop\PrestaShop\Core\Domain\CustomerService\QueryResult\CustomerThreadView::__construct',1521'PrestaShop\PrestaShop\Core\Domain\Meta\ValueObject\Name::__construct',1522'PrestaShop\PrestaShop\Core\Domain\Meta\ValueObject\Name::assertIsValidPageName',1523'PrestaShop\PrestaShop\Core\Domain\Shop\QueryResult\LogosPaths::__construct',1524'PrestaShop\PrestaShop\Core\Domain\CustomerService\QueryResult\CustomerThreadTimelineItem::__construct',1525'PrestaShop\PrestaShop\Core\Domain\Meta\QueryResult\LayoutCustomizationPage::__construct',1526'PrestaShop\PrestaShop\Core\Domain\CatalogPriceRule\Command\DeleteCatalogPriceRuleCommand::__construct',1527'PrestaShop\PrestaShop\Core\Domain\CatalogPriceRule\Query\GetCatalogPriceRuleForEditing::__construct',1528'PrestaShop\PrestaShop\Core\Domain\Meta\QueryResult\EditableMeta::__construct',1529'PrestaShop\PrestaShop\Core\Domain\CustomerService\QueryResult\CustomerThreadMessage::__construct',1530'PrestaShop\PrestaShop\Core\Domain\Meta\Command\AddMetaCommand::__construct',1531'PrestaShop\PrestaShop\Core\Domain\CustomerService\QueryResult\CustomerInformation::withEmailOnly',1532'PrestaShop\PrestaShop\Core\Domain\CustomerService\QueryResult\CustomerInformation::__construct',1533'PrestaShop\PrestaShop\Core\Domain\OrderState\ValueObject\Name::__construct',1534'PrestaShop\PrestaShop\Core\Domain\OrderState\ValueObject\Name::assertNameIsValid',1535'PrestaShop\PrestaShop\Core\Domain\CustomerService\Command\ForwardCustomerThreadCommand::toAnotherEmployee',1536'PrestaShop\PrestaShop\Core\Domain\OrderState\ValueObject\Name::assertNameDoesNotExceedAllowedLength',1537'PrestaShop\PrestaShop\Core\Domain\Meta\Command\EditMetaCommand::__construct',1538'PrestaShop\PrestaShop\Core\Domain\CustomerService\Command\ForwardCustomerThreadCommand::toSomeoneElse',1539'PrestaShop\PrestaShop\Core\Domain\Meta\Command\EditMetaCommand::setPageName',1540'PrestaShop\PrestaShop\Core\Domain\OrderState\ValueObject\OrderStateId::__construct',1541'PrestaShop\PrestaShop\Core\Domain\OrderState\ValueObject\OrderStateId::assertIntegerIsGreaterThanZero',1542'PrestaShop\PrestaShop\Core\Domain\Tax\ValueObject\TaxId::__construct',1543'PrestaShop\PrestaShop\Core\Domain\Meta\Command\AbstractMetaCommand::assertNameMatchesRegexPattern',1544'PrestaShop\PrestaShop\Core\Domain\Meta\Query\GetMetaForEditing::__construct',1545'PrestaShop\PrestaShop\Core\Domain\MailTemplate\CommandHandler\GenerateThemeMailTemplatesCommandHandler::__construct',1546'PrestaShop\PrestaShop\Core\Domain\Tax\QueryResult\EditableTax::__construct',1547'PrestaShop\PrestaShop\Core\Domain\MailTemplate\Command\GenerateThemeMailTemplatesCommand::__construct',1548'PrestaShop\PrestaShop\Core\Domain\Tax\Command\EditTaxCommand::__construct',1549'PrestaShop\PrestaShop\Core\Domain\OrderState\Command\EditOrderStateCommand::__construct',1550'PrestaShop\PrestaShop\Core\Domain\Language\Command\DeleteLanguageCommand::__construct',1551'PrestaShop\PrestaShop\Core\Domain\Tax\Command\EditTaxCommand::setLocalizedNames',1552'PrestaShop\PrestaShop\Core\Domain\OrderState\Command\EditOrderStateCommand::setName',1553'PrestaShop\PrestaShop\Core\Domain\Tax\Command\EditTaxCommand::setRate',1554'PrestaShop\PrestaShop\Core\Domain\Language\ValueObject\TagIETF::__construct',1555'PrestaShop\PrestaShop\Core\Domain\Tax\Command\EditTaxCommand::setEnabled',1556'PrestaShop\PrestaShop\Core\Domain\Language\ValueObject\TagIETF::assertIsTagIETF',1557'PrestaShop\PrestaShop\Core\Domain\Tax\Command\BulkToggleTaxStatusCommand::__construct',1558'PrestaShop\PrestaShop\Core\Domain\Language\Command\BulkToggleLanguagesStatusCommand::__construct',1559'PrestaShop\PrestaShop\Core\Domain\Language\ValueObject\IsoCode::__construct',1560'PrestaShop\PrestaShop\Core\Domain\Language\ValueObject\IsoCode::assertIsIsoCode',1561'PrestaShop\PrestaShop\Core\Domain\Tax\Command\BulkToggleTaxStatusCommand::assertIsBool',1562'PrestaShop\PrestaShop\Core\Domain\Language\ValueObject\LanguageId::__construct',1563'PrestaShop\PrestaShop\Core\Domain\Language\ValueObject\LanguageId::assertIsIntegerGreaterThanZero',1564'PrestaShop\PrestaShop\Core\Domain\Tax\Command\ToggleTaxStatusCommand::__construct',1565'PrestaShop\PrestaShop\Core\Domain\Language\Command\BulkToggleLanguagesStatusCommand::assertStatusIsBool',1566'PrestaShop\PrestaShop\Core\Domain\Tax\Command\ToggleTaxStatusCommand::assertIsBool',1567'PrestaShop\PrestaShop\Core\Domain\Language\Command\ToggleLanguageStatusCommand::__construct',1568'PrestaShop\PrestaShop\Core\Domain\Tax\Command\DeleteTaxCommand::__construct',1569'PrestaShop\PrestaShop\Core\Domain\Language\Command\ToggleLanguageStatusCommand::assertStatusIsBool',1570'PrestaShop\PrestaShop\Core\Domain\Tax\Command\AddTaxCommand::__construct',1571'PrestaShop\PrestaShop\Core\Domain\Language\Query\GetLanguageForEditing::__construct',1572'PrestaShop\PrestaShop\Core\Domain\Tax\Command\AddTaxCommand::setEnabled',1573'PrestaShop\PrestaShop\Core\Domain\OrderState\Query\GetOrderStateForEditing::__construct',1574'PrestaShop\PrestaShop\Core\Domain\Tax\Query\GetTaxForEditing::__construct',1575'PrestaShop\PrestaShop\Core\Domain\Language\QueryResult\EditableLanguage::__construct',1576'PrestaShop\PrestaShop\Core\Domain\Language\Exception\LanguageNotFoundException::__construct',1577'PrestaShop\PrestaShop\Core\Domain\OrderState\Exception\DuplicateOrderStateNameException::__construct',1578'PrestaShop\PrestaShop\Core\Domain\OrderState\Exception\OrderStateNotFoundException::__construct',1579'PrestaShop\PrestaShop\Core\Domain\OrderState\Exception\MissingOrderStateRequiredFieldsException::__construct',1580'PrestaShop\PrestaShop\Core\Domain\Language\Command\AddLanguageCommand::__construct',1581'PrestaShop\PrestaShop\Core\Domain\Product\ValueObject\ProductId::__construct',1582'PrestaShop\PrestaShop\Core\Domain\Product\ValueObject\ProductId::assertIntegerIsGreaterThanZero',1583'PrestaShop\PrestaShop\Core\Domain\Language\Command\EditLanguageCommand::__construct',1584'PrestaShop\PrestaShop\Core\Domain\Language\Command\EditLanguageCommand::setLanguageId',1585'PrestaShop\PrestaShop\Core\Domain\Language\Command\EditLanguageCommand::setName',1586'PrestaShop\PrestaShop\Core\Domain\Language\Command\EditLanguageCommand::setIsoCode',1587'PrestaShop\PrestaShop\Core\Domain\Language\Command\EditLanguageCommand::setTagIETF',1588'PrestaShop\PrestaShop\Core\Domain\Language\Command\EditLanguageCommand::setShortDateFormat',1589'PrestaShop\PrestaShop\Core\Domain\Language\Command\EditLanguageCommand::setFullDateFormat',1590'PrestaShop\PrestaShop\Core\Domain\Language\Command\EditLanguageCommand::setFlagImagePath',1591'PrestaShop\PrestaShop\Core\Domain\Language\Command\EditLanguageCommand::setNoPictureImagePath',1592'PrestaShop\PrestaShop\Core\Domain\Language\Command\EditLanguageCommand::setIsRtl',1593'PrestaShop\PrestaShop\Core\Domain\Language\Command\EditLanguageCommand::setIsActive',1594'PrestaShop\PrestaShop\Core\Domain\Product\Customization\Exception\CannotBulkDeleteCustomizationFieldException::__construct',1595'PrestaShop\PrestaShop\Core\Domain\Product\AttributeGroup\Attribute\ValueObject\AttributeId::__construct',1596'PrestaShop\PrestaShop\Core\Domain\Product\AttributeGroup\Attribute\ValueObject\AttributeId::assertIsIntegerGreaterThanZero',1597'PrestaShop\PrestaShop\Core\Domain\Product\AttributeGroup\Attribute\Command\DeleteAttributeCommand::__construct',1598'PrestaShop\PrestaShop\Core\Domain\Product\AttributeGroup\Command\DeleteAttributeGroupCommand::__construct',1599'PrestaShop\PrestaShop\Core\Domain\Product\AttributeGroup\ValueObject\AttributeGroupId::__construct',1600'PrestaShop\PrestaShop\Core\Domain\Product\AttributeGroup\ValueObject\AttributeGroupId::assertIsIntegerGreaterThanZero',1601'PrestaShop\PrestaShop\Core\Domain\Product\Supplier\Exception\CannotBulkDeleteProductSupplierException::__construct',1602'PrestaShop\PrestaShop\Core\Domain\Webservice\ValueObject\Key::__construct',1603'PrestaShop\PrestaShop\Core\Domain\Webservice\ValueObject\Key::assertKeyIsStringAndRequiredLength',1604'PrestaShop\PrestaShop\Core\Domain\Product\Command\AssignProductToCategoryCommand::__construct',1605'PrestaShop\PrestaShop\Core\Domain\Webservice\Command\EditWebserviceKeyCommand::__construct',1606'PrestaShop\PrestaShop\Core\Domain\Webservice\ValueObject\WebserviceKeyId::__construct',1607'PrestaShop\PrestaShop\Core\Domain\Webservice\ValueObject\WebserviceKeyId::assertWebserviceKeyIdIsIntegerGreaterThanZero',1608'PrestaShop\PrestaShop\Core\Domain\Webservice\Command\EditWebserviceKeyCommand::setKey',1609'PrestaShop\PrestaShop\Core\Domain\Webservice\Command\EditWebserviceKeyCommand::setDescription',1610'PrestaShop\PrestaShop\Core\Domain\Webservice\Command\EditWebserviceKeyCommand::setStatus',1611'PrestaShop\PrestaShop\Core\Domain\Product\Exception\CannotBulkDeleteProductException::__construct',1612'PrestaShop\PrestaShop\Core\Domain\Webservice\Query\GetWebserviceKeyForEditing::__construct',1613'PrestaShop\PrestaShop\Core\Domain\Webservice\QueryResult\EditableWebserviceKey::__construct',1614'PrestaShop\PrestaShop\Core\Domain\Webservice\Command\AddWebserviceKeyCommand::__construct',1615'PrestaShop\PrestaShop\Core\Domain\Profile\ValueObject\ProfileId::__construct',1616'PrestaShop\PrestaShop\Core\Domain\Profile\ValueObject\ProfileId::setProfileId',1617'PrestaShop\PrestaShop\Core\Domain\Theme\CommandHandler\EnableThemeHandler::__construct',1618'PrestaShop\PrestaShop\Core\Domain\Profile\Command\DeleteProfileCommand::__construct',1619'PrestaShop\PrestaShop\Core\Domain\Profile\Command\EditProfileCommand::__construct',1620'PrestaShop\PrestaShop\Core\Domain\Profile\Command\AbstractProfileCommand::assertNameIsStringAndRequiredLength',1621'PrestaShop\PrestaShop\Core\Domain\Profile\Query\GetProfileForEditing::__construct',1622'PrestaShop\PrestaShop\Core\Domain\Theme\Exception\ImportedThemeAlreadyExistsException::__construct',1623'PrestaShop\PrestaShop\Core\Domain\Supplier\Command\DeleteSupplierCommand::__construct',1624'PrestaShop\PrestaShop\Core\Domain\Supplier\ValueObject\SupplierId::__construct',1625'PrestaShop\PrestaShop\Core\Domain\Supplier\ValueObject\SupplierId::assertIsIntegerGreaterThanZero',1626'PrestaShop\PrestaShop\Core\Domain\Supplier\Query\GetSupplierForViewing::__construct',1627'PrestaShop\PrestaShop\Core\Domain\Theme\Exception\FailedToEnableThemeModuleException::__construct',1628'PrestaShop\PrestaShop\Core\Domain\Supplier\QueryResult\ViewableSupplier::__construct',1629'PrestaShop\PrestaShop\Core\Domain\Address\ValueObject\AddressId::__construct',1630'PrestaShop\PrestaShop\Core\Domain\Address\ValueObject\AddressId::assertIsIntegerGreaterThanZero',1631'PrestaShop\PrestaShop\Core\Domain\Address\QueryResult\EditableManufacturerAddress::__construct',1632'PrestaShop\PrestaShop\Core\Domain\Theme\ValueObject\ThemeImportSource::fromWeb',1633'PrestaShop\PrestaShop\Core\Domain\Theme\ValueObject\ThemeImportSource::fromFtp',1634'PrestaShop\PrestaShop\Core\Domain\Theme\ValueObject\ThemeImportSource::__construct',1635'PrestaShop\PrestaShop\Core\Domain\Theme\ValueObject\ThemeImportSource::assertSupportedThemeImportSourceTypeSupplied',1636'PrestaShop\PrestaShop\Core\Domain\Address\Query\GetCustomerAddressForEditing::__construct',1637'PrestaShop\PrestaShop\Core\Domain\Theme\ValueObject\ThemeName::__construct',1638'PrestaShop\PrestaShop\Core\Domain\Address\Query\GetManufacturerAddressForEditing::__construct',1639'PrestaShop\PrestaShop\Core\Domain\Theme\ValueObject\ThemeName::assertThemeNameIsNotEmptyString',1640'PrestaShop\PrestaShop\Core\Domain\Theme\ValueObject\ThemeName::assertThemeNameMatchesPattern',1641'PrestaShop\PrestaShop\Core\Domain\Address\Exception\BulkDeleteAddressException::__construct',1642'PrestaShop\PrestaShop\Core\Domain\Cart\ValueObject\CartId::__construct',1643'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::__construct',1644'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setAddressId',1645'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setManufacturerId',1646'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setLastName',1647'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setFirstName',1648'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setAddress',1649'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setCity',1650'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setAddress2',1651'PrestaShop\PrestaShop\Core\Domain\Supplier\Command\ToggleSupplierStatusCommand::__construct',1652'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setCountryId',1653'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setPostCode',1654'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setStateId',1655'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setHomePhone',1656'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setMobilePhone',1657'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setOther',1658'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::setDni',1659'PrestaShop\PrestaShop\Core\Domain\Address\Command\EditManufacturerAddressCommand::assertIsNullOrNonNegativeInt',1660'PrestaShop\PrestaShop\Core\Domain\Cart\QueryResult\CartView::__construct',1661'PrestaShop\PrestaShop\Core\Domain\Cart\Command\UpdateProductQuantityInCartCommand::__construct',1662'PrestaShop\PrestaShop\Core\Domain\Address\Command\BulkDeleteAddressCommand::__construct',1663'PrestaShop\PrestaShop\Core\Domain\Address\Command\DeleteAddressCommand::__construct',1664'PrestaShop\PrestaShop\Core\Domain\Address\Command\AddManufacturerAddressCommand::__construct',1665'PrestaShop\PrestaShop\Core\Domain\SqlManagement\ValueObject\DatabaseTableField::__construct',1666'PrestaShop\PrestaShop\Core\Domain\SqlManagement\ValueObject\DatabaseTableField::setName',1667'PrestaShop\PrestaShop\Core\Domain\SqlManagement\ValueObject\DatabaseTableField::setType',1668'PrestaShop\PrestaShop\Core\Domain\Address\Command\AddManufacturerAddressCommand::assertIsNullOrNonNegativeInt',1669'PrestaShop\PrestaShop\Core\Domain\SqlManagement\ValueObject\SqlRequestId::__construct',1670'PrestaShop\PrestaShop\Core\Domain\SqlManagement\SqlRequestSettings::__construct',1671'PrestaShop\PrestaShop\Core\Domain\SqlManagement\SqlRequestSettings::setFileEncoding',1672'PrestaShop\PrestaShop\Core\Domain\Cart\Command\CreateEmptyCustomerCartCommand::__construct',1673'PrestaShop\PrestaShop\Core\Domain\Cart\Command\SendCartToCustomerCommand::__construct',1674'PrestaShop\PrestaShop\Core\Domain\SqlManagement\Command\DeleteSqlRequestCommand::setSqlRequestId',1675'PrestaShop\PrestaShop\Core\Domain\Cart\Command\UpdateProductPriceInCartCommand::__construct',1676'PrestaShop\PrestaShop\Core\Domain\SqlManagement\Command\EditSqlRequestCommand::setName',1677'PrestaShop\PrestaShop\Core\Domain\Cart\Command\UpdateProductPriceInCartCommand::assertPriceIsPositiveFloat',1678'PrestaShop\PrestaShop\Core\Domain\SqlManagement\Command\EditSqlRequestCommand::setSql',1679'PrestaShop\PrestaShop\Core\Domain\Cart\Command\UpdateCartCurrencyCommand::__construct',1680'PrestaShop\PrestaShop\Core\Domain\SqlManagement\Command\AddSqlRequestCommand::__construct',1681'PrestaShop\PrestaShop\Core\Domain\Cart\Command\AddCartRuleToCartCommand::__construct',1682'PrestaShop\PrestaShop\Core\Domain\SqlManagement\Command\AddSqlRequestCommand::setName',1683'PrestaShop\PrestaShop\Core\Domain\SqlManagement\Command\AddSqlRequestCommand::setSql',1684'PrestaShop\PrestaShop\Core\Domain\SqlManagement\Command\SaveSqlRequestSettingsCommand::__construct',1685'PrestaShop\PrestaShop\Core\Domain\SqlManagement\Command\SaveSqlRequestSettingsCommand::setFileEncoding',1686'PrestaShop\PrestaShop\Core\Domain\SqlManagement\QueryHandler\GetSqlRequestSettingsHandler::getFileEncoding',1687'PrestaShop\PrestaShop\Core\Domain\Cart\Command\UpdateCartCarrierCommand::__construct',1688'PrestaShop\PrestaShop\Core\Domain\SqlManagement\EditableSqlRequest::__construct',1689'PrestaShop\PrestaShop\Core\Domain\Cart\Command\UpdateCartLanguageCommand::__construct',1690'PrestaShop\PrestaShop\Core\Domain\SqlManagement\EditableSqlRequest::setName',1691'PrestaShop\PrestaShop\Core\Domain\Feature\Query\GetFeatureForEditing::__construct',1692'PrestaShop\PrestaShop\Core\Domain\SqlManagement\EditableSqlRequest::setSql',1693'PrestaShop\PrestaShop\Core\Domain\SqlManagement\Query\GetSqlRequestExecutionResult::__construct',1694'PrestaShop\PrestaShop\Core\Domain\SqlManagement\Query\GetSqlRequestForEditing::__construct',1695'PrestaShop\PrestaShop\Core\Domain\Feature\ValueObject\FeatureId::__construct',1696'PrestaShop\PrestaShop\Core\Domain\Cart\Query\GetCartForViewing::__construct',1697'PrestaShop\PrestaShop\Core\Domain\Feature\ValueObject\FeatureId::assertIntegerIsGreaterThanZero',1698'PrestaShop\PrestaShop\Core\Domain\SqlManagement\Query\GetDatabaseTableFieldsList::__construct',1699'PrestaShop\PrestaShop\Core\Domain\SqlManagement\Query\GetDatabaseTableFieldsList::setTableName',1700'PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\EmployeeId::__construct',1701'PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\EmployeeId::assertIntegerIsGreaterThanZero',1702'PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\LastName::__construct',1703'PrestaShop\PrestaShop\Core\Domain\Employee\Exception\EmployeeNotFoundException::__construct',1704'PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\LastName::assertLastNameIsValid',1705'PrestaShop\PrestaShop\Core\Domain\Employee\QueryResult\EditableEmployee::__construct',1706'PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\LastName::assertLastNameDoesNotExceedAllowedLength',1707'PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\Password::__construct',1708'PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\Password::assertPasswordIsWithinAllowedLength',1709'PrestaShop\PrestaShop\Core\Domain\CmsPage\ValueObject\CmsPageId::__construct',1710'PrestaShop\PrestaShop\Core\Domain\CmsPage\ValueObject\CmsPageId::assertIsIntegerGreaterThanZero',1711'PrestaShop\PrestaShop\Core\Domain\Employee\Command\ToggleEmployeeStatusCommand::__construct',1712'PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\FirstName::__construct',1713'PrestaShop\PrestaShop\Core\Domain\Employee\Command\DeleteEmployeeCommand::__construct',1714'PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\FirstName::assertFirstNameIsValid',1715'PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\FirstName::assertFirstNameDoesNotExceedAllowedLength',1716'PrestaShop\PrestaShop\Core\Domain\Employee\Command\AddEmployeeCommand::__construct',1717'PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\ToggleCmsPageStatusCommand::__construct',1718'PrestaShop\PrestaShop\Core\Domain\Feature\Command\EditFeatureCommand::__construct',1719'PrestaShop\PrestaShop\Core\Domain\Employee\Command\BulkUpdateEmployeeStatusCommand::__construct',1720'PrestaShop\PrestaShop\Core\Domain\Feature\Command\EditFeatureCommand::setAssociatedShopIds',1721'PrestaShop\PrestaShop\Core\Domain\CmsPage\QueryResult\EditableCmsPage::__construct',1722'PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\AddCmsPageCommand::__construct',1723'PrestaShop\PrestaShop\Core\Domain\Currency\ValueObject\NumericIsoCode::__construct',1724'PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand::__construct',1725'PrestaShop\PrestaShop\Core\Domain\Currency\ValueObject\NumericIsoCode::assertIsValidNumericIsoCode',1726'PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand::setEmployeeId',1727'PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand::setFirstName',1728'PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand::setLastName',1729'PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand::setEmail',1730'PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\DeleteCmsPageCommand::__construct',1731'PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand::setDefaultPageId',1732'PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\EditCmsPageCommand::__construct',1733'PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand::setLanguageId',1734'PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand::setActive',1735'PrestaShop\PrestaShop\Core\Domain\CmsPage\Query\GetCmsCategoryIdForRedirection::__construct',1736'PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\EditCmsPageCommand::setCmsPageCategoryId',1737'PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand::setProfileId',1738'PrestaShop\PrestaShop\Core\Domain\CmsPage\Query\GetCmsPageForEditing::__construct',1739'PrestaShop\PrestaShop\Core\Domain\Currency\ValueObject\AlphaIsoCode::__construct',1740'PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand::setShopAssociation',1741'PrestaShop\PrestaShop\Core\Domain\Currency\ValueObject\AlphaIsoCode::assertIsValidIsoCode',1742'PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand::setPlainPassword',1743'PrestaShop\PrestaShop\Core\Domain\Currency\ValueObject\CurrencyId::__construct',1744'PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\EditCmsPageCommand::setIsIndexedForSearch',1745'PrestaShop\PrestaShop\Core\Domain\Employee\Query\GetEmployeeForEditing::__construct',1746'PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\EditCmsPageCommand::setIsDisplayed',1747'PrestaShop\PrestaShop\Core\Domain\Currency\ValueObject\ExchangeRate::__construct',1748'PrestaShop\PrestaShop\Core\Domain\Currency\ValueObject\ExchangeRate::assertIsNumberAndMoreThanZero',1749'PrestaShop\PrestaShop\Core\Domain\Employee\Exception\CannotDeleteEmployeeException::__construct',1750'PrestaShop\PrestaShop\Core\Domain\Employee\Exception\EmailAlreadyUsedException::__construct',1751'PrestaShop\PrestaShop\Core\Domain\Currency\QueryResult\EditableCurrency::__construct',1752'PrestaShop\PrestaShop\Core\Domain\Currency\Exception\BulkDeleteCurrenciesException::__construct',1753'PrestaShop\PrestaShop\Core\Domain\Currency\Exception\DefaultCurrencyInMultiShopException::__construct',1754'PrestaShop\PrestaShop\Core\Domain\Currency\Exception\InvalidUnofficialCurrencyException::__construct',1755'PrestaShop\PrestaShop\Core\Domain\Currency\Command\DeleteCurrencyCommand::__construct',1756'PrestaShop\PrestaShop\Core\Domain\Hook\ValueObject\HookId::__construct',1757'PrestaShop\PrestaShop\Core\Domain\Currency\Command\AddCurrencyCommand::__construct',1758'PrestaShop\PrestaShop\Core\Domain\Hook\ValueObject\HookId::assertIntegerIsGreaterThanZero',1759'PrestaShop\PrestaShop\Core\Domain\Currency\Command\AddCurrencyCommand::setPrecision',1760'PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\Exception\CannotBulkUpdateTaxRulesGroupException::__construct',1761'PrestaShop\PrestaShop\Core\Domain\TaxRulesGroup\Exception\CannotBulkDeleteTaxRulesGroupException::__construct',1762'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\QueryResult\EditableCmsPageCategory::__construct',1763'PrestaShop\PrestaShop\Core\Domain\Currency\Command\EditUnofficialCurrencyCommand::setIsoCode',1764'PrestaShop\PrestaShop\Core\Domain\Currency\Command\ToggleCurrencyStatusCommand::__construct',1765'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\ValueObject\CmsPageCategoryId::__construct',1766'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\ValueObject\CmsPageCategoryId::assertIsIntegerGreaterThanZero',1767'PrestaShop\PrestaShop\Core\Domain\Currency\Command\EditCurrencyCommand::__construct',1768'PrestaShop\PrestaShop\Core\Domain\Currency\Command\EditCurrencyCommand::setExchangeRate',1769'PrestaShop\PrestaShop\Core\Domain\Currency\Command\EditCurrencyCommand::setPrecision',1770'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\QueryResult\BreadcrumbItem::__construct',1771'PrestaShop\PrestaShop\Core\Domain\Currency\Command\EditCurrencyCommand::setIsEnabled',1772'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\Command\ToggleCmsPageCategoryStatusCommand::__construct',1773'PrestaShop\PrestaShop\Core\Domain\Currency\Command\ToggleExchangeRateAutomatizationCommand::__construct',1774'PrestaShop\PrestaShop\Core\Domain\Currency\Command\ToggleExchangeRateAutomatizationCommand::assertIsBool',1775'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\Command\DeleteCmsPageCategoryCommand::__construct',1776'PrestaShop\PrestaShop\Core\Domain\Currency\Query\GetCurrencyForEditing::__construct',1777'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\Command\EditCmsPageCategoryCommand::__construct',1778'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\Command\EditCmsPageCategoryCommand::setParentId',1779'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\Command\EditCmsPageCategoryCommand::setIsDisplayed',1780'PrestaShop\PrestaShop\Core\Domain\CartRule\Exception\BulkDeleteCartRuleException::__construct',1781'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\ApeCode::__construct',1782'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\ApeCode::assertIsApeCode',1783'PrestaShop\PrestaShop\Core\Domain\CartRule\Exception\BulkToggleCartRuleException::__construct',1784'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\CustomerDeleteMethod::__construct',1785'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\CustomerDeleteMethod::assertMethodIsDefined',1786'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\Email::__construct',1787'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\FirstName::__construct',1788'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\LastName::__construct',1789'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\Command\AddCmsPageCategoryCommand::__construct',1790'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\FirstName::assertFirstNameIsValid',1791'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\LastName::assertLastNameIsValid',1792'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\FirstName::assertFirstNameDoesNotExceedAllowedLength',1793'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\LastName::assertLastNameDoesNotExceedAllowedLength',1794'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\Birthday::__construct',1795'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\Birthday::assertBirthdayIsNotAFutureDate',1796'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\Query\GetCmsPageCategoryForEditing::__construct',1797'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\Query\GetCmsPageCategoriesForBreadcrumb::__construct',1798'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\Birthday::assertBirthdayIsInValidFormat',1799'PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\Query\GetCmsPageParentCategoryIdForRedirection::__construct',1800'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\Password::__construct',1801'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\Password::assertPasswordIsWithinAllowedLength',1802'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\Subscriptions::__construct',1803'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\GroupInformation::__construct',1804'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\CustomerId::__construct',1805'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\SentEmailInformation::__construct',1806'PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\CustomerId::assertIntegerIsGreaterThanZero',1807'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\ViewedProductInformation::__construct',1808'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\ReferrerInformation::__construct',1809'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\AddressInformation::__construct',1810'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\GeneralInformation::__construct',1811'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\BoughtProductInformation::__construct',1812'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\CartInformation::__construct',1813'PrestaShop\PrestaShop\Core\Domain\Customer\Command\AddCustomerCommand::__construct',1814'PrestaShop\PrestaShop\Core\Domain\Customer\Command\AddCustomerCommand::setCompanyName',1815'PrestaShop\PrestaShop\Core\Domain\Customer\Command\AddCustomerCommand::setSiretCode',1816'PrestaShop\PrestaShop\Core\Domain\Customer\Command\AddCustomerCommand::setApeCode',1817'PrestaShop\PrestaShop\Core\Domain\Customer\Command\AddCustomerCommand::setWebsite',1818'PrestaShop\PrestaShop\Core\Domain\Customer\Command\AddCustomerCommand::setAllowedOutstandingAmount',1819'PrestaShop\PrestaShop\Core\Domain\Customer\Command\AddCustomerCommand::setMaxPaymentDays',1820'PrestaShop\PrestaShop\Core\Domain\Customer\Command\AddCustomerCommand::setRiskId',1821'PrestaShop\PrestaShop\Core\Domain\Customer\Command\SetPrivateNoteAboutCustomerCommand::__construct',1822'PrestaShop\PrestaShop\Core\Domain\OrderReturnState\ValueObject\OrderReturnStateId::__construct',1823'PrestaShop\PrestaShop\Core\Domain\OrderReturnState\ValueObject\OrderReturnStateId::assertIntegerIsGreaterThanZero',1824'PrestaShop\PrestaShop\Core\Domain\Customer\Command\SetPrivateNoteAboutCustomerCommand::assertPrivateNoteIsString',1825'PrestaShop\PrestaShop\Core\Domain\Customer\Query\GetCustomerForEditing::__construct',1826'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\MessageInformation::__construct',1827'PrestaShop\PrestaShop\Core\Domain\OrderReturnState\ValueObject\Name::__construct',1828'PrestaShop\PrestaShop\Core\Domain\OrderReturnState\ValueObject\Name::assertNameIsValid',1829'PrestaShop\PrestaShop\Core\Domain\Customer\Query\GetCustomerForViewing::__construct',1830'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\OrdersInformation::__construct',1831'PrestaShop\PrestaShop\Core\Domain\OrderReturnState\ValueObject\Name::assertNameDoesNotExceedAllowedLength',1832'PrestaShop\PrestaShop\Core\Domain\Customer\Exception\CustomerNotFoundException::__construct',1833'PrestaShop\PrestaShop\Core\Domain\OrderReturnState\Exception\OrderReturnStateNotFoundException::__construct',1834'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\EditableCustomer::__construct',1835'PrestaShop\PrestaShop\Core\Domain\Customer\Exception\MissingCustomerRequiredFieldsException::__construct',1836'PrestaShop\PrestaShop\Core\Domain\OrderReturnState\Command\EditOrderReturnStateCommand::__construct',1837'PrestaShop\PrestaShop\Core\Domain\OrderReturnState\Command\EditOrderReturnStateCommand::setName',1838'PrestaShop\PrestaShop\Core\Domain\Customer\Exception\DuplicateCustomerEmailException::__construct',1839'PrestaShop\PrestaShop\Core\Exception\IOException::__construct',1840'PrestaShop\PrestaShop\Core\Exception\TranslatableCoreException::__construct',1841'PrestaShop\PrestaShop\Core\ConstraintValidator\CleanHtmlValidator::validate',1842'PrestaShop\PrestaShop\Core\Domain\OrderReturnState\Query\GetOrderReturnStateForEditing::__construct',1843'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\LastConnectionInformation::__construct',1844'PrestaShop\PrestaShop\Core\Exception\TranslatableCoreException::setKey',1845'PrestaShop\PrestaShop\Core\Exception\TranslatableCoreException::setDomain',1846'PrestaShop\PrestaShop\Core\Domain\OrderReturnState\Exception\MissingOrderReturnStateRequiredFieldsException::__construct',1847'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\OrderInformation::__construct',1848'PrestaShop\PrestaShop\Core\Domain\OrderReturnState\Exception\DuplicateOrderReturnStateNameException::__construct',1849'PrestaShop\PrestaShop\Core\ConstraintValidator\DefaultLanguageValidator::__construct',1850'PrestaShop\PrestaShop\Core\ConstraintValidator\DefaultLanguageValidator::validate',1851'PrestaShop\PrestaShop\Core\ConstraintValidator\DateRangeValidator::validate',1852'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\PersonalInformation::__construct',1853'PrestaShop\PrestaShop\Core\ConstraintValidator\DateRangeValidator::validateRange',1854'PrestaShop\PrestaShop\Core\Currency\CurrencyDataProviderInterface::getCurrencies',1855'PrestaShop\PrestaShop\Core\Currency\CurrencyDataProviderInterface::findAll',1856'PrestaShop\PrestaShop\Core\ConstraintValidator\PositiveOrZeroValidator::validate',1857'PrestaShop\PrestaShop\Core\Currency\CurrencyDataProviderInterface::getCurrencyByIsoCode',1858'PrestaShop\PrestaShop\Core\Currency\CurrencyDataProviderInterface::getCurrencyByIsoCodeOrCreate',1859'PrestaShop\PrestaShop\Core\ConstraintValidator\TypedRegexValidator::validate',1860'PrestaShop\PrestaShop\Core\Currency\CurrencyDataProviderInterface::getCurrencyById',1861'PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\DiscountInformation::__construct',1862'PrestaShop\PrestaShop\Core\ConstraintValidator\TypedRegexValidator::getPattern',1863'PrestaShop\PrestaShop\Core\Currency\ExchangeRateProvider::__construct',1864'PrestaShop\PrestaShop\Core\Currency\ExchangeRateProvider::getExchangeRate',1865'PrestaShop\PrestaShop\Core\Domain\Customer\Command\BulkDeleteCustomerCommand::__construct',1866'PrestaShop\PrestaShop\Core\ConstraintValidator\TypedRegexValidator::sanitize',1867'PrestaShop\PrestaShop\Core\ConstraintValidator\TypedRegexValidator::match',1868'PrestaShop\PrestaShop\Core\Domain\Customer\Command\DeleteCustomerCommand::__construct',1869'PrestaShop\PrestaShop\Core\ConstraintValidator\ExistingCustomerEmailValidator::validate',1870'PrestaShop\PrestaShop\Core\Currency\ExchangeRateProvider::parseAndSaveXMLFeed',1871'PrestaShop\PrestaShop\Core\Domain\Customer\Command\TransformGuestToCustomerCommand::__construct',1872'PrestaShop\PrestaShop\Core\Currency\ExchangeRateProvider::parseXmlFeed',1873'PrestaShop\PrestaShop\Core\ConstraintValidator\AddressDniRequiredValidator::validate',1874'PrestaShop\PrestaShop\Core\ConstraintValidator\AddressZipCodeValidator::validate',1875'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::__construct',1876'PrestaShop\PrestaShop\Core\ConstraintValidator\ReductionValidator::validate',1877'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setFirstName',1878'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setLastName',1879'PrestaShop\PrestaShop\Core\ConstraintValidator\IsUrlRewriteValidator::__construct',1880'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setEmail',1881'PrestaShop\PrestaShop\Core\ConstraintValidator\IsUrlRewriteValidator::validate',1882'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setPassword',1883'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setDefaultGroupId',1884'PrestaShop\PrestaShop\Core\ConstraintValidator\IsUrlRewriteValidator::isUrlRewriteValid',1885'PrestaShop\PrestaShop\Core\ConstraintValidator\CustomerNameValidator::validate',1886'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setGenderId',1887'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setNewsletterSubscribed',1888'PrestaShop\PrestaShop\Core\ConstraintValidator\AddressStateRequiredValidator::validate',1889'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setIsEnabled',1890'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setIsPartnerOffersSubscribed',1891'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setBirthday',1892'PrestaShop\PrestaShop\Core\ConstraintValidator\CustomerNameValidator::isNameValid',1893'PrestaShop\PrestaShop\Core\ConstraintValidator\CustomerNameValidator::isPointSpacedValid',1894'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setCompanyName',1895'PrestaShop\PrestaShop\Core\ConstraintValidator\NotBlankWhenRequiredValidator::validate',1896'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setSiretCode',1897'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setApeCode',1898'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setWebsite',1899'PrestaShop\PrestaShop\Core\Email\SwiftMailerValidation::isValid',1900'PrestaShop\PrestaShop\Core\Hook\HookDescription::__construct',1901'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setAllowedOutstandingAmount',1902'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setMaxPaymentDays',1903'PrestaShop\PrestaShop\Core\Domain\Customer\Command\EditCustomerCommand::setRiskId',1904'PrestaShop\PrestaShop\Core\Hook\Hook::__construct',1905'PrestaShop\PrestaShop\Core\Email\EmailLister::getAvailableMails',1906'PrestaShop\PrestaShop\Core\Hook\HookDispatcher::dispatchWithParameters',1907'PrestaShop\PrestaShop\Core\Localization\Pack\Import\LocalizationPackImporter::trans',1908'PrestaShop\PrestaShop\Core\Localization\Pack\Import\LocalizationPackImportConfig::__construct',1909'PrestaShop\PrestaShop\Core\Email\EmailLister::getCleanedMailName',1910'PrestaShop\PrestaShop\Core\Localization\CLDR\CurrencyData::setIsoCode',1911'PrestaShop\PrestaShop\Core\Localization\CLDR\CurrencyData::setNumericIsoCode',1912'PrestaShop\PrestaShop\Core\Hook\HookDispatcher::dispatchRenderingWithParameters',1913'PrestaShop\PrestaShop\Core\Localization\CLDR\CurrencyData::setDecimalDigits',1914'PrestaShop\PrestaShop\Core\Localization\CLDR\CurrencyData::setDisplayNames',1915'PrestaShop\PrestaShop\Core\Hook\HookDispatcher::dispatch',1916'PrestaShop\PrestaShop\Core\Localization\CLDR\CurrencyData::setSymbols',1917'PrestaShop\PrestaShop\Core\Localization\CLDR\CurrencyData::setActive',1918'PrestaShop\PrestaShop\Core\Hook\HookDispatcher::addListener',1919'PrestaShop\PrestaShop\Core\Localization\Specification\Factory::buildNumberSpecification',1920'PrestaShop\PrestaShop\Core\Hook\HookDispatcher::removeListener',1921'PrestaShop\PrestaShop\Core\Hook\HookDispatcher::getListeners',1922'PrestaShop\PrestaShop\Core\Hook\HookDispatcher::getListenerPriority',1923'PrestaShop\PrestaShop\Core\Localization\Specification\Factory::buildPriceSpecification',1924'PrestaShop\PrestaShop\Core\Localization\CLDR\Reader::readLocaleData',1925'PrestaShop\PrestaShop\Core\Hook\HookDispatcher::hasListeners',1926'PrestaShop\PrestaShop\Core\Localization\CLDR\Reader::validateLocaleCodeForFilenames',1927'PrestaShop\PrestaShop\Core\Localization\Specification\Factory::getPositivePattern',1928'PrestaShop\PrestaShop\Core\Localization\Specification\Factory::getNegativePattern',1929'PrestaShop\PrestaShop\Core\Localization\CLDR\Reader::getLookup',1930'PrestaShop\PrestaShop\Core\Localization\Specification\Factory::computeNumberSymbolLists',1931'PrestaShop\PrestaShop\Core\Validation\Validator::isCleanHtml',1932'PrestaShop\PrestaShop\Core\Validation\Validator::isModuleName',1933'PrestaShop\PrestaShop\Core\Localization\CLDR\Reader::getParentLocale',1934'PrestaShop\PrestaShop\Core\Validation\ValidatorInterface::isCleanHtml',1935'PrestaShop\PrestaShop\Core\Validation\ValidatorInterface::isModuleName',1936'PrestaShop\PrestaShop\Core\Localization\LocaleInterface::formatNumber',1937'PrestaShop\PrestaShop\Core\Localization\LocaleInterface::formatPrice',1938'PrestaShop\PrestaShop\Core\Localization\CLDR\Reader::getMainXmlData',1939'PrestaShop\PrestaShop\Core\Localization\Specification\Factory::getMinFractionDigits',1940'PrestaShop\PrestaShop\Core\Localization\Locale\RepositoryInterface::getLocale',1941'PrestaShop\PrestaShop\Core\Localization\Specification\Factory::getMaxFractionDigits',1942'PrestaShop\PrestaShop\Core\Localization\CLDR\Reader::mainPath',1943'PrestaShop\PrestaShop\Core\Localization\Specification\Factory::getPrimaryGroupSize',1944'PrestaShop\PrestaShop\Core\Localization\Specification\Factory::getSecondaryGroupSize',1945'PrestaShop\PrestaShop\Core\Localization\CLDR\Reader::getLocaleData',1946'PrestaShop\PrestaShop\Core\Hook\Provider\GridDefinitionHookByServiceIdsProvider::formatHookName',1947'PrestaShop\PrestaShop\Core\Localization\Specification\Factory::getPatternGroups',1948'PrestaShop\PrestaShop\Core\Localization\CLDR\Reader::mapLocaleData',1949'PrestaShop\PrestaShop\Core\Localization\Specification\Number::__construct',1950'PrestaShop\PrestaShop\Core\Localization\Locale\Repository::__construct',1951'PrestaShop\PrestaShop\Core\Localization\Specification\Number::getSymbolsByNumberingSystem',1952'PrestaShop\PrestaShop\Core\Localization\Locale\Repository::getLocale',1953'PrestaShop\PrestaShop\Core\Localization\Locale\Repository::getNumberSpecification',1954'PrestaShop\PrestaShop\Core\Hook\Provider\IdentifiableObjectHookByFormTypeProvider::formatHookName',1955'PrestaShop\PrestaShop\Core\Localization\Locale\Repository::getPriceSpecifications',1956'PrestaShop\PrestaShop\Core\Hook\Generator\HookDescriptionGeneratorInterface::generate',1957'PrestaShop\PrestaShop\Core\Hook\Generator\HookDescriptionGenerator::generate',1958'PrestaShop\PrestaShop\Core\Localization\CurrencyInterface::getSymbol',1959'PrestaShop\PrestaShop\Core\Hook\Generator\HookDescriptionGenerator::extractHookId',1960'PrestaShop\PrestaShop\Core\Localization\CurrencyInterface::getName',1961'PrestaShop\PrestaShop\Core\Hook\Generator\HookDescriptionGenerator::getTextWithHookId',1962'PrestaShop\PrestaShop\Core\Hook\Generator\HookDescriptionGenerator::doesHookDescriptionContainsPlaceholder',1963'PrestaShop\PrestaShop\Core\Localization\Pack\Loader\AbstractLocalizationPackLoader::loadXml',1964'PrestaShop\PrestaShop\Core\Hook\Generator\HookDescriptionGenerator::doesPlaceholderIsTheFirstElementOfTheDescription',1965'PrestaShop\PrestaShop\Core\Localization\Specification\NumberSymbolList::__construct',1966'PrestaShop\PrestaShop\Core\Hook\HookDispatcherInterface::dispatchWithParameters',1967'PrestaShop\PrestaShop\Core\Hook\HookDispatcherInterface::dispatchRenderingWithParameters',1968'PrestaShop\PrestaShop\Core\Localization\Pack\Loader\RemoteLocalizationPackLoader::getLocalizationPack',1969'PrestaShop\PrestaShop\Core\Localization\Pack\Loader\LocalizationPackLoaderInterface::getLocalizationPack',1970'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataLayerInterface::read',1971'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataLayerInterface::write',1972'PrestaShop\PrestaShop\Core\Localization\Pack\Loader\LocalLocalizationPackLoader::getLocalizationPack',1973'PrestaShop\PrestaShop\Core\Localization\Currency\RepositoryInterface::getCurrency',1974'PrestaShop\PrestaShop\Core\Localization\Currency\RepositoryInterface::getAvailableCurrencies',1975'PrestaShop\PrestaShop\Core\Localization\Currency\RepositoryInterface::getAllInstalledCurrencies',1976'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyData::setIsActive',1977'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyData::setConversionRate',1978'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyData::setIsoCode',1979'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyData::setNumericIsoCode',1980'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyData::setSymbols',1981'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyData::setPrecision',1982'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyData::setNames',1983'PrestaShop\PrestaShop\Core\Localization\Specification\NumberCollection::add',1984'PrestaShop\PrestaShop\Core\Grid\Position\GridPositionUpdater::sortByPositionValue',1985'PrestaShop\PrestaShop\Core\Localization\Specification\NumberCollection::get',1986'PrestaShop\PrestaShop\Core\Grid\Position\PositionUpdate::__construct',1987'PrestaShop\PrestaShop\Core\Localization\Currency\DataSourceInterface::isCurrencyAvailable',1988'PrestaShop\PrestaShop\Core\Localization\Specification\NumberCollection::remove',1989'PrestaShop\PrestaShop\Core\Localization\Currency\DataSourceInterface::getAvailableCurrenciesData',1990'PrestaShop\PrestaShop\Core\Localization\Currency\DataSourceInterface::getAllInstalledCurrenciesData',1991'PrestaShop\PrestaShop\Core\Grid\Position\PositionUpdateFactory::__construct',1992'PrestaShop\PrestaShop\Core\Localization\Specification\Price::__construct',1993'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource::isCurrencyAvailable',1994'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource::getAvailableCurrenciesData',1995'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource::getAllInstalledCurrenciesData',1996'PrestaShop\PrestaShop\Core\Localization\Specification\NumberInterface::getSymbolsByNumberingSystem',1997'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource::formatCurrenciesData',1998'PrestaShop\PrestaShop\Core\Grid\Position\PositionUpdateFactory::validatePositionData',1999'PrestaShop\PrestaShop\Core\Localization\Number\Formatter::__construct',2000'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyCollection::get',2001'PrestaShop\PrestaShop\Core\Localization\Number\Formatter::format',2002'PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyCollection::remove',2003'PrestaShop\PrestaShop\Core\Localization\Number\Formatter::prepareNumber',2004'PrestaShop\PrestaShop\Core\Grid\Position\UpdateHandler\DoctrinePositionUpdateHandler::__construct',2005'PrestaShop\PrestaShop\Core\Grid\Position\UpdateHandler\DoctrinePositionUpdateHandler::getCurrentPositions',2006'PrestaShop\PrestaShop\Core\Localization\Number\Formatter::splitMajorGroups',2007'PrestaShop\PrestaShop\Core\Localization\Number\Formatter::adjustMinorDigitsZeroes',2008'PrestaShop\PrestaShop\Core\Localization\Currency\LocalizedCurrencyId::__construct',2009'PrestaShop\PrestaShop\Core\Localization\Number\Formatter::getCldrPattern',2010'PrestaShop\PrestaShop\Core\Localization\CLDR\Reader::shouldCurrencyBeReturned',2011'PrestaShop\PrestaShop\Core\Localization\Number\Formatter::localizeNumber',2012'PrestaShop\PrestaShop\Core\Localization\Number\Formatter::replaceDigits',2013'PrestaShop\PrestaShop\Core\Localization\CLDR\Reader::isCurrencyActiveSomewhere',2014'PrestaShop\PrestaShop\Core\Localization\Number\Formatter::replaceSymbols',2015'PrestaShop\PrestaShop\Core\Localization\Number\Formatter::addPlaceholders',2016'PrestaShop\PrestaShop\Core\Localization\Number\Formatter::performSpecificReplacements',2017'PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyReference::doRead',2018'PrestaShop\PrestaShop\Core\Localization\Number\Formatter::tryCurrencyReplacement',2019'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleRepository::getLocale',2020'PrestaShop\PrestaShop\Core\Localization\Currency::__construct',2021'PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyReference::doWrite',2022'PrestaShop\PrestaShop\Core\Grid\Position\UpdateHandler\PositionUpdateHandlerInterface::getCurrentPositions',2023'PrestaShop\PrestaShop\Core\Localization\Currency::getSymbol',2024'PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache::doRead',2025'PrestaShop\PrestaShop\Core\Localization\Currency::getName',2026'PrestaShop\PrestaShop\Core\Localization\Currency::getPattern',2027'PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache::doWrite',2028'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleInterface::getNumberSymbolsByNumberingSystem',2029'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleInterface::getDecimalPattern',2030'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleInterface::getPercentPattern',2031'PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyInstalled::isAvailable',2032'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleInterface::getCurrencyPattern',2033'PrestaShop\PrestaShop\Core\Grid\Position\PositionDefinition::__construct',2034'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleInterface::getCurrency',2035'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleInterface::getCurrencyData',2036'PrestaShop\PrestaShop\Core\Localization\CLDR\CurrencyDataLayerInterface::read',2037'PrestaShop\PrestaShop\Core\Localization\CLDR\CurrencyDataLayerInterface::write',2038'PrestaShop\PrestaShop\Core\Grid\Position\PositionModification::__construct',2039'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleData::setLocaleCode',2040'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleData::setNumberingSystems',2041'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleData::setDefaultNumberingSystem',2042'PrestaShop\PrestaShop\Core\Localization\CLDR\CurrencyInterface::getDisplayName',2043'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleData::setMinimumGroupingDigits',2044'PrestaShop\PrestaShop\Core\Localization\CLDR\CurrencyInterface::getSymbol',2045'PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase::doRead',2046'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleData::setNumberSymbols',2047'PrestaShop\PrestaShop\Core\Localization\CLDR\ReaderInterface::readLocaleData',2048'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleData::setDecimalPatterns',2049'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleData::setPercentPatterns',2050'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleData::setCurrencyPatterns',2051'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleData::getCurrencyByIsoCode',2052'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleData::setCurrencies',2053'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleDataLayerInterface::read',2054'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleDataLayerInterface::write',2055'PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase::doWrite',2056'PrestaShop\PrestaShop\Core\Grid\Column\ColumnCollection::addAfter',2057'PrestaShop\PrestaShop\Core\Localization\Currency\Repository::getCurrency',2058'PrestaShop\PrestaShop\Core\Grid\Column\ColumnCollection::addBefore',2059'PrestaShop\PrestaShop\Core\Grid\Column\ColumnCollection::remove',2060'PrestaShop\PrestaShop\Core\Localization\Currency\Repository::getAvailableCurrencies',2061'PrestaShop\PrestaShop\Core\Localization\Currency\Repository::getAllInstalledCurrencies',2062'PrestaShop\PrestaShop\Core\Localization\CLDR\Currency::getDisplayName',2063'PrestaShop\PrestaShop\Core\Localization\CLDR\Currency::getSymbol',2064'PrestaShop\PrestaShop\Core\Grid\Column\ColumnCollection::move',2065'PrestaShop\PrestaShop\Core\Localization\CLDR\LocaleDataSource::getLocaleData',2066'PrestaShop\PrestaShop\Core\Localization\Locale::__construct',2067'PrestaShop\PrestaShop\Core\Grid\Column\ColumnCollection::insertByPosition',2068'PrestaShop\PrestaShop\Core\Localization\Locale::formatNumber',2069'PrestaShop\PrestaShop\Core\Localization\CLDR\DataLayer\LocaleReference::doRead',2070'PrestaShop\PrestaShop\Core\Localization\Locale::formatPrice',2071'PrestaShop\PrestaShop\Core\Localization\CLDR\DataLayer\LocaleReference::doWrite',2072'PrestaShop\PrestaShop\Core\Localization\Locale::getPriceSpecification',2073'PrestaShop\PrestaShop\Core\Grid\Column\ColumnCollectionInterface::addAfter',2074'PrestaShop\PrestaShop\Core\Grid\Column\ColumnCollectionInterface::addBefore',2075'PrestaShop\PrestaShop\Core\Grid\Column\ColumnCollectionInterface::remove',2076'PrestaShop\PrestaShop\Core\Grid\Column\Type\DisableableLinkColumn::__construct',2077'PrestaShop\PrestaShop\Core\Localization\CLDR\DataLayer\CurrencyCache::doRead',2078'PrestaShop\PrestaShop\Core\Localization\CLDR\DataLayer\CurrencyCache::write',2079'PrestaShop\PrestaShop\Core\Grid\Column\AbstractColumn::__construct',2080'PrestaShop\PrestaShop\Core\Localization\CLDR\DataLayer\CurrencyCache::doWrite',2081'PrestaShop\PrestaShop\Core\Grid\Column\AbstractColumn::setName',2082'PrestaShop\PrestaShop\Core\Localization\CLDR\DataLayer\LocaleCache::doRead',2083'PrestaShop\PrestaShop\Core\Localization\CLDR\DataLayer\LocaleCache::write',2084'PrestaShop\PrestaShop\Core\Localization\CLDR\DataLayer\LocaleCache::doWrite',2085'PrestaShop\PrestaShop\Core\Grid\Action\Bulk\AbstractBulkAction::__construct',2086'PrestaShop\PrestaShop\Core\Grid\Action\Bulk\AbstractBulkAction::setName',2087'PrestaShop\PrestaShop\Core\Grid\Action\ViewOptionsCollection::add',2088'PrestaShop\PrestaShop\Core\Grid\Action\ViewOptionsCollectionInterface::add',2089'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setDecimal',2090'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setGroup',2091'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setList',2092'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setPercentSign',2093'PrestaShop\PrestaShop\Core\Grid\Column\ColumnInterface::setName',2094'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setMinusSign',2095'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setPlusSign',2096'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setExponential',2097'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setSuperscriptingExponent',2098'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setPerMille',2099'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setInfinity',2100'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setNan',2101'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setTimeSeparator',2102'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setCurrencyDecimal',2103'PrestaShop\PrestaShop\Core\Localization\CLDR\NumberSymbolsData::setCurrencyGroup',2104'PrestaShop\PrestaShop\Core\Grid\Action\AbstractGridAction::__construct',2105'PrestaShop\PrestaShop\Core\Grid\Search\SearchCriteria::__construct',2106'PrestaShop\PrestaShop\Core\Grid\Action\AbstractGridAction::setName',2107'PrestaShop\PrestaShop\Core\Grid\Action\AbstractGridAction::setIcon',2108'PrestaShop\PrestaShop\Core\Grid\Action\GridActionInterface::setName',2109'PrestaShop\PrestaShop\Core\Grid\Action\GridActionInterface::setIcon',2110'PrestaShop\PrestaShop\Core\Grid\Action\Row\AccessibilityChecker\DeleteProfileAccessibilityChecker::__construct',2111'PrestaShop\PrestaShop\Core\Localization\CLDR\Locale::getNumberSymbolsByNumberingSystem',2112'PrestaShop\PrestaShop\Core\Localization\CLDR\Locale::getDecimalPattern',2113'PrestaShop\PrestaShop\Core\Grid\Action\Bulk\BulkActionInterface::setName',2114'PrestaShop\PrestaShop\Core\Localization\CLDR\Locale::getPercentPattern',2115'PrestaShop\PrestaShop\Core\Localization\CLDR\Locale::getCurrencyPattern',2116'PrestaShop\PrestaShop\Core\Localization\CLDR\Locale::getCurrency',2117'PrestaShop\PrestaShop\Core\Grid\Action\Row\RowActionInterface::setName',2118'PrestaShop\PrestaShop\Core\Grid\Action\Row\RowActionInterface::setIcon',2119'PrestaShop\PrestaShop\Core\Localization\CLDR\Locale::getCurrencyData',2120'PrestaShop\PrestaShop\Core\Localization\RTL\StylesheetGenerator::__construct',2121'PrestaShop\PrestaShop\Core\Localization\RTL\StylesheetGenerator::generateInDirectory',2122'PrestaShop\PrestaShop\Core\Localization\RTL\StylesheetGenerator::shouldProcessFile',2123'PrestaShop\PrestaShop\Core\Localization\RTL\StylesheetGenerator::processFile',2124'PrestaShop\PrestaShop\Core\Localization\RTL\StylesheetGenerator::getFilesInDirectory',2125'PrestaShop\PrestaShop\Core\Localization\RTL\StylesheetGenerator::getFilePathWithoutExtension',2126'PrestaShop\PrestaShop\Core\Localization\RTL\StylesheetGenerator::getRtlFileName',2127'PrestaShop\PrestaShop\Core\Localization\RTL\StylesheetGenerator::appendRtlFixIfNecessary',2128'PrestaShop\PrestaShop\Core\Localization\RTL\StylesheetGenerator::saveFile',2129'PrestaShop\PrestaShop\Core\Grid\Action\Row\AbstractRowAction::__construct',2130'PrestaShop\PrestaShop\Core\Localization\RTL\Processor::__construct',2131'PrestaShop\PrestaShop\Core\Localization\RTL\Processor::setLanguageCode',2132'PrestaShop\PrestaShop\Core\Grid\Action\Row\AbstractRowAction::setName',2133'PrestaShop\PrestaShop\Core\Localization\RTL\Processor::setProcessBOTheme',2134'PrestaShop\PrestaShop\Core\Grid\Action\Row\AbstractRowAction::setIcon',2135'PrestaShop\PrestaShop\Core\Localization\RTL\Processor::setIsInstall',2136'PrestaShop\PrestaShop\Core\Localization\RTL\Processor::setRegenerate',2137'PrestaShop\PrestaShop\Core\Localization\RTL\Processor::setProcessDefaultModules',2138'PrestaShop\PrestaShop\Core\Grid\Definition\Factory\ContactGridDefinitionFactory::__construct',2139'PrestaShop\PrestaShop\Core\Grid\Definition\GridDefinition::__construct',2140'PrestaShop\PrestaShop\Core\Grid\Definition\GridDefinition::setName',2141'PrestaShop\PrestaShop\Core\Grid\Definition\GridDefinition::setColumns',2142'PrestaShop\PrestaShop\Core\Grid\Filter\FilterCollection::remove',2143'PrestaShop\PrestaShop\Core\Grid\Filter\FilterCollection::get',2144'PrestaShop\PrestaShop\Core\Grid\Filter\Filter::__construct',2145'PrestaShop\PrestaShop\Core\Grid\Filter\Filter::setAssociatedColumn',2146'PrestaShop\PrestaShop\Core\Grid\Query\DoctrineQueryParser::parse',2147'PrestaShop\PrestaShop\Core\Grid\Query\DoctrineQueryParser::parseValue',2148'PrestaShop\PrestaShop\Core\Grid\Query\DoctrineQueryParser::parseStringParameter',2149'PrestaShop\PrestaShop\Core\Grid\Query\DoctrineQueryParser::parseNumericParameter',2150'PrestaShop\PrestaShop\Core\Grid\Query\DoctrineQueryParser::parseBooleanParameter',2151'PrestaShop\PrestaShop\Core\Grid\Query\LanguageQueryBuilder::__construct',2152'PrestaShop\PrestaShop\Core\Grid\Definition\Factory\CategoryGridDefinitionFactory::__construct',2153'PrestaShop\PrestaShop\Core\Grid\Definition\Factory\EmployeeGridDefinitionFactory::__construct',2154'PrestaShop\PrestaShop\Core\Grid\Query\ProfileQueryBuilder::__construct',2155'PrestaShop\PrestaShop\Core\Grid\Definition\Factory\ProfileGridDefinitionFactory::__construct',2156'PrestaShop\PrestaShop\Core\Grid\Definition\Factory\AttributeGridDefinitionFactory::__construct',2157'PrestaShop\PrestaShop\Core\Grid\Query\ManufacturerAddressQueryBuilder::__construct',2158'PrestaShop\PrestaShop\Core\Grid\Query\TaxRulesGroupQueryBuilder::__construct',2159'PrestaShop\PrestaShop\Core\Grid\Definition\Factory\CmsPageCategoryDefinitionFactory::__construct',2160'PrestaShop\PrestaShop\Core\Grid\Query\CmsPageQueryBuilder::__construct',2161'PrestaShop\PrestaShop\Core\Grid\Query\CmsPageQueryBuilder::getModifiedPositionFilter',2162'PrestaShop\PrestaShop\Core\Grid\Query\LogQueryBuilder::__construct',2163'PrestaShop\PrestaShop\Core\Grid\Query\MetaQueryBuilder::__construct',2164'PrestaShop\PrestaShop\Core\Grid\Query\CurrencyQueryBuilder::__construct',2165'PrestaShop\PrestaShop\Core\Grid\Definition\Factory\EmailLogsDefinitionFactory::__construct',2166'PrestaShop\PrestaShop\Core\Grid\Query\ManufacturerQueryBuilder::__construct',2167'PrestaShop\PrestaShop\Core\Grid\Query\AttributeQueryBuilder::__construct',2168'PrestaShop\PrestaShop\Core\Grid\Definition\Factory\OrderGridDefinitionFactory::__construct',2169'PrestaShop\PrestaShop\Core\Grid\Query\CreditSlipQueryBuilder::__construct',2170'PrestaShop\PrestaShop\Core\Grid\Query\ContactQueryBuilder::__construct',2171'PrestaShop\PrestaShop\Core\Grid\Query\CmsPageCategoryQueryBuilder::__construct',2172'PrestaShop\PrestaShop\Core\Grid\Definition\Factory\CustomerGridDefinitionFactory::__construct',2173'PrestaShop\PrestaShop\Core\Grid\Query\CmsPageCategoryQueryBuilder::getModifiedOrderBy',2174'PrestaShop\PrestaShop\Core\Grid\Query\CmsPageCategoryQueryBuilder::getModifiedPositionFilter',2175'PrestaShop\PrestaShop\Core\Grid\Query\OrderQueryBuilder::__construct',2176'PrestaShop\PrestaShop\Core\Grid\Definition\Factory\CmsPageDefinitionFactory::__construct',2177'PrestaShop\PrestaShop\Core\Grid\Query\WebserviceKeyQueryBuilder::__construct',2178'PrestaShop\PrestaShop\Core\Grid\Query\WebserviceKeyQueryBuilder::getModifiedOrderBy',2179'PrestaShop\PrestaShop\Core\Grid\Query\SupplierQueryBuilder::__construct',2180'PrestaShop\PrestaShop\Core\Grid\Query\SupplierQueryBuilder::applyFilters',2181'PrestaShop\PrestaShop\Core\Grid\Query\AttributeGroupQueryBuilder::__construct',2182'PrestaShop\PrestaShop\Core\Grid\Query\RequestSqlQueryBuilder::__construct',2183'PrestaShop\PrestaShop\Core\Grid\Query\MerchandiseReturnQueryBuilder::__construct',2184'PrestaShop\PrestaShop\Core\Grid\Query\TaxQueryBuilder::__construct',2185'PrestaShop\PrestaShop\Core\Grid\Definition\Factory\AbstractGridDefinitionFactory::trans',2186'PrestaShop\PrestaShop\Core\Grid\Query\Filter\SqlFilters::addFilter',2187'PrestaShop\PrestaShop\Core\Grid\Query\CategoryQueryBuilder::__construct',2188'PrestaShop\PrestaShop\Core\Grid\Query\CartRuleQueryBuilder::__construct',2189'PrestaShop\PrestaShop\Core\Grid\Filter\FilterCollectionInterface::remove',2190'PrestaShop\PrestaShop\Core\Grid\Filter\FilterInterface::setAssociatedColumn',2191'PrestaShop\PrestaShop\Core\Grid\Query\Monitoring\EmptyCategoryQueryBuilder::__construct',2192'PrestaShop\PrestaShop\Core\Grid\Data\Factory\CustomerGridDataFactoryDecorator::__construct',2193'PrestaShop\PrestaShop\Core\Grid\Data\Factory\AttachmentGridDataFactoryDecorator::trans',2194'PrestaShop\PrestaShop\Core\Grid\Query\Monitoring\AbstractProductQueryBuilder::__construct',2195'PrestaShop\PrestaShop\Core\Grid\Data\Factory\DoctrineGridDataFactory::__construct',2196'PrestaShop\PrestaShop\Core\Grid\Definition\Factory\CreditSlipGridDefinitionFactory::__construct',2197'PrestaShop\PrestaShop\Core\Grid\Query\CatalogPriceRuleQueryBuilder::__construct',2198'PrestaShop\PrestaShop\Core\Grid\Query\CatalogPriceRuleQueryBuilder::findNumberOfDecimals',2199'PrestaShop\PrestaShop\Core\Grid\Query\CustomerQueryBuilder::__construct',2200'PrestaShop\PrestaShop\Core\Grid\Data\Factory\OrderGridDataFactory::__construct',2201'PrestaShop\PrestaShop\Core\Grid\Data\GridData::__construct',2202'PrestaShop\PrestaShop\Core\Grid\Factory\CategoryGridFactoryDecorator::removePositionDragColumnIfEligible',2203'PrestaShop\PrestaShop\Core\Grid\Factory\CategoryGridFactoryDecorator::injectCategoryIdIntoSearchTypeOptions',2204'PrestaShop\PrestaShop\Core\Session\SessionInterface::setUserId',2205'PrestaShop\PrestaShop\Core\Session\SessionInterface::setToken',2206'PrestaShop\PrestaShop\Core\Grid\Query\QueryParserInterface::parse',2207'PrestaShop\PrestaShop\Core\Grid\Query\EmailLogsQueryBuilder::__construct',2208'PrestaShop\PrestaShop\Core\Grid\Query\AbstractDoctrineQueryBuilder::__construct',2209'PrestaShop\PrestaShop\Core\Grid\Query\EmployeeQueryBuilder::__construct',2210'PrestaShop\PrestaShop\Adapter\SqlManager\SqlQueryValidator::validate',2211'PrestaShop\PrestaShop\Adapter\Manufacturer\CommandHandler\AbstractManufacturerCommandHandler::toggleManufacturerStatus',2212'PrestaShop\PrestaShop\Adapter\SqlManager\SqlQueryValidator::getRequiredKeyError',2213'PrestaShop\PrestaShop\Adapter\SqlManager\SqlQueryValidator::getUnauthorizedKeyError',2214'PrestaShop\PrestaShop\Adapter\Manufacturer\ManufacturerProductSearchProvider::getProductsOrCount',2215'PrestaShop\PrestaShop\Adapter\Manufacturer\ManufacturerLogoThumbnailProvider::getPath',2216'PrestaShop\PrestaShop\Adapter\Manufacturer\ManufacturerDataProvider::getManufacturers',2217'PrestaShop\PrestaShop\Adapter\Order\CommandHandler\AbstractOrderCommandHandler::reinjectQuantity',2218'PrestaShop\PrestaShop\Adapter\Configuration\PhpParameters::__construct',2219'PrestaShop\PrestaShop\Adapter\Configuration\PhpParameters::setProperty',2220'PrestaShop\PrestaShop\Adapter\Configuration\KpiConfiguration::__call',2221'PrestaShop\PrestaShop\Adapter\Form\ChoiceProvider\CategoryTreeChoiceProvider::__construct',2222'PrestaShop\PrestaShop\Adapter\Order\AbstractOrderHandler::getProduct',2223'PrestaShop\PrestaShop\Adapter\Order\CommandHandler\UpdateOrderStatusHandler::getOrderStateObject',2224'PrestaShop\PrestaShop\Adapter\Form\ChoiceProvider\ProfileByIdChoiceProvider::__construct',2225'PrestaShop\PrestaShop\Adapter\Form\ChoiceProvider\GroupByIdChoiceProvider::__construct',2226'PrestaShop\PrestaShop\Adapter\Order\CommandHandler\AddProductToOrderHandler::addProductToCart',2227'PrestaShop\PrestaShop\Adapter\Order\CommandHandler\AddProductToOrderHandler::createNewInvoice',2228'PrestaShop\PrestaShop\Adapter\Contact\CommandHandler\EditContactHandler::getContactEntityIfFound',2229'PrestaShop\PrestaShop\Adapter\Order\CommandHandler\AddProductToOrderHandler::updateExistingInvoice',2230'PrestaShop\PrestaShop\Adapter\LegacyLogger::emergency',2231'PrestaShop\PrestaShop\Adapter\LegacyLogger::alert',2232'PrestaShop\PrestaShop\Adapter\LegacyLogger::critical',2233'PrestaShop\PrestaShop\Adapter\LegacyLogger::error',2234'PrestaShop\PrestaShop\Adapter\LegacyLogger::warning',2235'PrestaShop\PrestaShop\Adapter\LegacyLogger::notice',2236'PrestaShop\PrestaShop\Adapter\LegacyLogger::info',2237'PrestaShop\PrestaShop\Adapter\LegacyLogger::debug',2238'PrestaShop\PrestaShop\Adapter\LegacyLogger::log',2239'PrestaShop\PrestaShop\Adapter\Attribute\AbstractAttributeHandler::getAttributeById',2240'PrestaShop\PrestaShop\Adapter\Attribute\AdminAttributeGeneratorControllerWrapper::processGenerate',2241'PrestaShop\PrestaShop\Adapter\Attribute\AdminAttributeGeneratorControllerWrapper::ajaxProcessDeleteProductAttribute',2242'PrestaShop\PrestaShop\Adapter\Category\CommandHandler\AbstractDeleteCategoryHandler::handleProductsUpdate',2243'PrestaShop\PrestaShop\Adapter\Attribute\AttributeDataProvider::getAttributes',2244'PrestaShop\PrestaShop\Adapter\Attribute\AttributeDataProvider::getAttributeIdsByGroup',2245'PrestaShop\PrestaShop\Adapter\Attribute\AttributeDataProvider::getProductCombinations',2246'PrestaShop\PrestaShop\Adapter\Attribute\AttributeDataProvider::getImages',2247'PrestaShop\PrestaShop\Adapter\Order\OrderProductQuantityUpdater::reinjectQuantity',2248'PrestaShop\PrestaShop\Adapter\Cache\CombineCompressCacheConfiguration::__construct',2249'PrestaShop\PrestaShop\Adapter\Cache\CombineCompressCacheConfiguration::manageApacheOptimization',2250'PrestaShop\PrestaShop\Adapter\Cache\CacheAdapter::store',2251'PrestaShop\PrestaShop\Adapter\Cache\CacheAdapter::retrieve',2252'PrestaShop\PrestaShop\Adapter\Cache\CacheAdapter::isStored',2253'PrestaShop\PrestaShop\Adapter\Cache\CachingConfiguration::__construct',2254'PrestaShop\PrestaShop\Adapter\Order\Invoice::getByDeliveryDateInterval',2255'PrestaShop\PrestaShop\Adapter\Category\CategoryViewDataProvider::__construct',2256'PrestaShop\PrestaShop\Adapter\Category\CategoryViewDataProvider::getViewData',2257'PrestaShop\PrestaShop\Adapter\Cache\MemcacheServerManager::__construct',2258'PrestaShop\PrestaShop\Adapter\Cache\MemcacheServerManager::addServer',2259'PrestaShop\PrestaShop\Adapter\Cache\MemcacheServerManager::testConfiguration',2260'PrestaShop\PrestaShop\Adapter\Cache\MemcacheServerManager::deleteServer',2261'PrestaShop\PrestaShop\Adapter\Converter\ExcelToCsvFileConverter::__construct',2262'PrestaShop\PrestaShop\Adapter\Category\CategoryProductSearchProvider::getProductsOrCount',2263'PrestaShop\PrestaShop\Adapter\EntityMapper::load',2264'PrestaShop\PrestaShop\Adapter\Category\CategoryDataProvider::getCategory',2265'PrestaShop\PrestaShop\Adapter\Category\CategoryDataProvider::getNestedCategories',2266'PrestaShop\PrestaShop\Adapter\Database::select',2267'PrestaShop\PrestaShop\Adapter\Category\CategoryDataProvider::getAllCategoriesName',2268'PrestaShop\PrestaShop\Adapter\Database::escape',2269'PrestaShop\PrestaShop\Adapter\Database::getValue',2270'PrestaShop\PrestaShop\Adapter\Category\CategoryDataProvider::getBreadCrumb',2271'PrestaShop\PrestaShop\Adapter\Category\CategoryDataProvider::getParentNamesFromList',2272'PrestaShop\PrestaShop\Adapter\Category\CategoryDataProvider::getAjaxCategories',2273'PrestaShop\PrestaShop\Adapter\Category\CategoryDataProvider::getRootCategory',2274'PrestaShop\PrestaShop\Adapter\File\Uploader\AttachmentFileUploader::upload',2275'PrestaShop\PrestaShop\Adapter\File\Uploader\AttachmentFileUploader::deleteOldFile',2276'PrestaShop\PrestaShop\Adapter\Module\Tab\ModuleTabRegister::addUndeclaredTabs',2277'PrestaShop\PrestaShop\Adapter\Module\Tab\ModuleTabRegister::checkIsValid',2278'PrestaShop\PrestaShop\Adapter\Module\Tab\ModuleTabRegister::getModuleAdminControllers',2279'PrestaShop\PrestaShop\Adapter\Module\Tab\ModuleTabRegister::getModuleAdminControllersFilename',2280'PrestaShop\PrestaShop\Adapter\File\HtaccessFileGenerator::__construct',2281'PrestaShop\PrestaShop\Adapter\File\HtaccessFileGenerator::generateFile',2282'PrestaShop\PrestaShop\Adapter\Module\Tab\ModuleTabRegister::getTabNames',2283'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::module',2284'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::setModule',2285'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::file',2286'PrestaShop\PrestaShop\Adapter\Module\Tab\ModuleTabRegister::duplicateParentIfAlone',2287'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::setFile',2288'PrestaShop\PrestaShop\Adapter\Module\ModuleDataUpdater::setModuleOnDiskFromAddons',2289'PrestaShop\PrestaShop\Adapter\Module\ModuleDataUpdater::removeModuleFromDisk',2290'PrestaShop\PrestaShop\Adapter\Module\ModuleDataUpdater::upgrade',2291'PrestaShop\PrestaShop\Adapter\Group\GroupDataProvider::getGroups',2292'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::convertRelativeToAbsolutePaths',2293'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::extractFilePath',2294'PrestaShop\PrestaShop\Adapter\Group\Provider\DefaultGroupsProvider::__construct',2295'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::loadPhpFile',2296'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::loadYmlFile',2297'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::runConfigurationStep',2298'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::runFilesStep',2299'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::runPhpStep',2300'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::runSqlStep',2301'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::runSqlFile',2302'PrestaShop\PrestaShop\Adapter\Order\QueryHandler\GetOrderProductsForViewingHandler::setProductImageInformation',2303'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::runConfigurationUpdate',2304'PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleSelfConfigurator::runConfigurationDelete',2305'PrestaShop\PrestaShop\Adapter\Module\Module::onUpgrade',2306'PrestaShop\PrestaShop\Adapter\Module\ModuleZipManager::getName',2307'PrestaShop\PrestaShop\Adapter\Module\Module::get',2308'PrestaShop\PrestaShop\Adapter\Module\Module::set',2309'PrestaShop\PrestaShop\Adapter\Module\Module::convertType',2310'PrestaShop\PrestaShop\Adapter\Module\ModuleZipManager::storeInModulesFolder',2311'PrestaShop\PrestaShop\Adapter\Module\ModuleZipManager::getSandboxPath',2312'PrestaShop\PrestaShop\Adapter\Module\ModuleZipManager::getSource',2313'PrestaShop\PrestaShop\Adapter\Module\ModuleZipManager::initSource',2314'PrestaShop\PrestaShop\Adapter\Module\Module::getModulesInstalled',2315'PrestaShop\PrestaShop\Adapter\Module\Module::getInstanceById',2316'PrestaShop\PrestaShop\Adapter\Module\PrestaTrust\ModuleEventSubscriber::setEnabled',2317'PrestaShop\PrestaShop\Adapter\Presenter\Order\OrderReturnPresenter::__construct',2318'PrestaShop\PrestaShop\Adapter\Presenter\Order\OrderReturnPresenter::present',2319'PrestaShop\PrestaShop\Adapter\Module\PrestaTrust\PrestaTrustChecker::calculateHash',2320'PrestaShop\PrestaShop\Adapter\Module\AdminModuleDataProvider::filterAllowedActions',2321'PrestaShop\PrestaShop\Adapter\Module\PrestaTrust\PrestaTrustChecker::findSmartContrat',2322'PrestaShop\PrestaShop\Adapter\Module\AdminModuleDataProvider::isAllowedAccess',2323'PrestaShop\PrestaShop\Adapter\Module\AdminModuleDataProvider::generateAddonsUrls',2324'PrestaShop\PrestaShop\Adapter\Module\PrestaTrust\PrestaTrustChecker::hasHexPrefix',2325'PrestaShop\PrestaShop\Adapter\Module\PrestaTrust\PrestaTrustChecker::requestCheck',2326'PrestaShop\PrestaShop\Adapter\Shop\Url\CategoryProvider::getUrl',2327'PrestaShop\PrestaShop\Adapter\Shop\Context::getShops',2328'PrestaShop\PrestaShop\Adapter\Shop\Context::getContextShopID',2329'PrestaShop\PrestaShop\Adapter\Shop\Context::getContextListShopID',2330'PrestaShop\PrestaShop\Adapter\Module\AdminModuleDataProvider::getModuleAttributesById',2331'PrestaShop\PrestaShop\Adapter\Shop\Context::setShopContext',2332'PrestaShop\PrestaShop\Adapter\Shop\Context::setShopGroupContext',2333'PrestaShop\PrestaShop\Adapter\Shop\Context::setAllContext',2334'PrestaShop\PrestaShop\Adapter\Shop\Context::getGroupFromShop',2335'PrestaShop\PrestaShop\Adapter\Shop\Context::ShopGroup',2336'PrestaShop\PrestaShop\Adapter\Shop\ShopUrlDataProvider::__construct',2337'PrestaShop\PrestaShop\Adapter\Shop\QueryHandler\GetLogosPathsHandler::__construct',2338'PrestaShop\PrestaShop\Adapter\Module\PaymentModuleListProvider::__construct',2339'PrestaShop\PrestaShop\Adapter\Module\ModuleZip::__construct',2340'PrestaShop\PrestaShop\Adapter\Module\ModuleZip::setName',2341'PrestaShop\PrestaShop\Adapter\Module\ModuleZip::setSandboxPath',2342'PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider::setEmployeeId',2343'PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider::findByName',2344'PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider::getModuleName',2345'PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider::can',2346'PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider::isEnabled',2347'PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider::isInstalled',2348'PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider::getModuleIdByName',2349'PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider::isModuleMainClassValid',2350'PrestaShop\PrestaShop\Adapter\CustomerService\CommandHandler\ReplyToCustomerThreadHandler::createCustomerMessage',2351'PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider::isOnDisk',2352'PrestaShop\PrestaShop\Adapter\Module\ModuleDataProvider::getDeviceStatus',2353'PrestaShop\PrestaShop\Adapter\Presenter\Order\OrderPresenter::present',2354'PrestaShop\PrestaShop\Adapter\Module\TabModuleListProvider::getTabModules',2355'PrestaShop\PrestaShop\Adapter\Presenter\Order\OrderReturnLazyArray::__construct',2356'PrestaShop\PrestaShop\Adapter\ImageManager::getThumbnailForListing',2357'PrestaShop\PrestaShop\Adapter\ImageManager::getThumbnailPath',2358'PrestaShop\PrestaShop\Adapter\ImageManager::getThumbnailTag',2359'PrestaShop\PrestaShop\Adapter\ImageManager::getImagePath',2360'PrestaShop\PrestaShop\Adapter\ImageManager::makeCachedImageName',2361'PrestaShop\PrestaShop\Adapter\LegacyContext::__construct',2362'PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray::appendArray',2363'PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray::appendClosure',2364'PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray::__isset',2365'PrestaShop\PrestaShop\Adapter\LegacyContext::getAdminLink',2366'PrestaShop\PrestaShop\Adapter\LegacyContext::getLegacyAdminLink',2367'PrestaShop\PrestaShop\Adapter\CustomerService\CommandHandler\ForwardCustomerThreadHandler::renderMessage',2368'PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray::__get',2369'PrestaShop\PrestaShop\Adapter\LegacyContext::getFrontUrl',2370'PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray::__set',2371'PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray::__unset',2372'PrestaShop\PrestaShop\Adapter\LegacyContext::setupLegacyTranslationContext',2373'PrestaShop\PrestaShop\Adapter\LegacyContext::getLegacyLayout',2374'PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray::offsetGet',2375'PrestaShop\PrestaShop\Adapter\LegacyContext::getLanguages',2376'PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray::offsetExists',2377'PrestaShop\PrestaShop\Adapter\LegacyContext::getLegacyLanguages',2378'PrestaShop\PrestaShop\Adapter\ContainerBuilder::getContainer',2379'PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray::intersectKey',2380'PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray::offsetSet',2381'PrestaShop\PrestaShop\Adapter\ContainerBuilder::buildContainer',2382'PrestaShop\PrestaShop\Adapter\CustomerService\CommandHandler\ForwardCustomerThreadHandler::replaceUrlsWithTags',2383'PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray::offsetUnset',2384'PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray::convertMethodNameToIndex',2385'PrestaShop\PrestaShop\Adapter\Presenter\Module\ModulePresenter::present',2386'PrestaShop\PrestaShop\Adapter\Presenter\Module\ModulePresenter::getModulePrice',2387'PrestaShop\PrestaShop\Adapter\Presenter\Module\ModulePresenter::presentCollection',2388'PrestaShop\PrestaShop\Adapter\PDF\CreditSlipPdfGenerator::__construct',2389'PrestaShop\PrestaShop\Adapter\PDF\CreditSlipPdfGenerator::getCreditSlipsList',2390'PrestaShop\PrestaShop\Adapter\Tax\TaxRuleDataProvider::getTaxRulesGroups',2391'PrestaShop\PrestaShop\Adapter\Meta\CommandHandler\EditMetaHandler::assertIsValidPageName',2392'PrestaShop\PrestaShop\Adapter\Meta\CommandHandler\AddMetaHandler::__construct',2393'PrestaShop\PrestaShop\Adapter\Tax\TaxRuleDataProvider::getTaxRulesGroupChoices',2394'PrestaShop\PrestaShop\Adapter\MailTemplate\MailTemplateTwigRenderer::render',2395'PrestaShop\PrestaShop\Adapter\Meta\UrlSchemaDataConfiguration::getConfigurationValue',2396'PrestaShop\PrestaShop\Adapter\Meta\UrlSchemaDataConfiguration::updateConfigurationValue',2397'PrestaShop\PrestaShop\Adapter\Meta\UrlSchemaDataConfiguration::getConfigurationKey',2398'PrestaShop\PrestaShop\Adapter\MailTemplate\MailTemplateTwigRenderer::getMailLayoutTransformations',2399'PrestaShop\PrestaShop\Adapter\Admin\UrlGenerator::generate',2400'PrestaShop\PrestaShop\Adapter\Admin\UrlGenerator::getLegacyOptions',2401'PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductLazyArray::shouldShowAddToCartButton',2402'PrestaShop\PrestaShop\Adapter\MailTemplate\MailPreviewVariablesBuilder::trans',2403'PrestaShop\PrestaShop\Adapter\Meta\ShopUrlDataConfiguration::isValidUri',2404'PrestaShop\PrestaShop\Adapter\Meta\MetaDataProvider::getIdByPage',2405'PrestaShop\PrestaShop\Adapter\Meta\MetaDataProvider::getDefaultMetaPageNameById',2406'PrestaShop\PrestaShop\Adapter\Admin\AbstractAdminQueryBuilder::compileSqlQuery',2407'PrestaShop\PrestaShop\Adapter\Meta\MetaDataProvider::getModuleMetaPageNameById',2408'PrestaShop\PrestaShop\Adapter\Meta\MetaDataProvider::isModuleFile',2409'PrestaShop\PrestaShop\Adapter\Meta\QueryHandler\GetPagesForLayoutCustomizationHandler::__construct',2410'PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductLazyArray::getProductURL',2411'PrestaShop\PrestaShop\Adapter\Admin\PagePreference::getTemporaryShouldUseLegacyPage',2412'PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductLazyArray::getTranslatedKey',2413'PrestaShop\PrestaShop\Adapter\Admin\PagePreference::setTemporaryShouldUseLegacyPage',2414'PrestaShop\PrestaShop\Adapter\Admin\PagePreference::getTemporaryShouldAllowUseLegacyPage',2415'PrestaShop\PrestaShop\Adapter\CacheManager::clean',2416'PrestaShop\PrestaShop\Adapter\Presenter\Object\ObjectPresenter::present',2417'PrestaShop\PrestaShop\Adapter\HookManager::exec',2418'PrestaShop\PrestaShop\Adapter\Presenter\Object\ObjectPresenter::filterHtmlContent',2419'PrestaShop\PrestaShop\Adapter\Pack\PackDataProvider::getItems',2420'PrestaShop\PrestaShop\Adapter\Presenter\PresenterInterface::present',2421'PrestaShop\PrestaShop\Adapter\OrderState\OrderStateDataProvider::getOrderStates',2422'PrestaShop\PrestaShop\Adapter\MailTemplate\MailPreviewVariablesBuilder::getFormatedAddress',2423'PrestaShop\PrestaShop\Adapter\MailTemplate\MailPartialTemplateRenderer::render',2424'PrestaShop\PrestaShop\Adapter\Language\LanguagePackInstaller::downloadAndInstallLanguagePack',2425'PrestaShop\PrestaShop\Adapter\Language\LanguageValidator::isInstalledByLocale',2426'PrestaShop\PrestaShop\Adapter\Language\LanguageCopier::isModuleContext',2427'PrestaShop\PrestaShop\Adapter\Language\LanguageCopier::changeModulesTranslationKeys',2428'PrestaShop\PrestaShop\Adapter\Language\LanguageActivator::enable',2429'PrestaShop\PrestaShop\Adapter\Language\LanguageActivator::disable',2430'PrestaShop\PrestaShop\Adapter\Language\LanguageActivator::setActive',2431'PrestaShop\PrestaShop\Adapter\Language\Pack\LanguagePackImporter::__construct',2432'PrestaShop\PrestaShop\Adapter\Language\Pack\LanguagePackImporter::import',2433'PrestaShop\PrestaShop\Adapter\Language\Pack\LanguagePackImporter::getFormattedLanguageCode',2434'PrestaShop\PrestaShop\Adapter\Language\LanguageFlagThumbnailProvider::__construct',2435'PrestaShop\PrestaShop\Adapter\Language\LanguageFlagThumbnailProvider::getPath',2436'PrestaShop\PrestaShop\Adapter\Language\LanguageDataProvider::getLanguages',2437'PrestaShop\PrestaShop\Adapter\Language\LanguageDataProvider::getLanguageCodeByIso',2438'PrestaShop\PrestaShop\Adapter\Language\LanguageDataProvider::getLanguageDetails',2439'PrestaShop\PrestaShop\Adapter\Language\LanguageDataProvider::getFilesList',2440'PrestaShop\PrestaShop\Adapter\Language\CommandHandler\AbstractLanguageHandler::copyNoPictureImage',2441'PrestaShop\PrestaShop\Adapter\Configuration::get',2442'PrestaShop\PrestaShop\Adapter\Language\CommandHandler\AbstractLanguageHandler::uploadImage',2443'PrestaShop\PrestaShop\Adapter\Configuration::set',2444'PrestaShop\PrestaShop\Adapter\Configuration::has',2445'PrestaShop\PrestaShop\Adapter\Configuration::remove',2446'PrestaShop\PrestaShop\Adapter\Configuration::delete',2447'PrestaShop\PrestaShop\Adapter\Configuration::getLocalized',2448'PrestaShop\PrestaShop\Adapter\PricesDrop\PricesDropProductSearchProvider::getProductsOrCount',2449'PrestaShop\PrestaShop\Adapter\Tab\TabDataProvider::__construct',2450'PrestaShop\PrestaShop\Adapter\Tab\TabDataProvider::getViewableTabsForContextEmployee',2451'PrestaShop\PrestaShop\Adapter\Tab\TabDataProvider::getViewableTabs',2452'PrestaShop\PrestaShop\Adapter\Product\ProductColorsRetriever::getColoredVariants',2453'PrestaShop\PrestaShop\Adapter\Tab\TabDataProvider::canAccessTab',2454'PrestaShop\PrestaShop\Adapter\Tools::link_rewrite',2455'PrestaShop\PrestaShop\Adapter\Tools::linkRewrite',2456'PrestaShop\PrestaShop\Adapter\Tools::bcadd',2457'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::__construct',2458'PrestaShop\PrestaShop\Adapter\Tools::purifyHTML',2459'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::processProductAttribute',2460'PrestaShop\PrestaShop\Adapter\Tools::generateHtaccessOnMultiViews',2461'PrestaShop\PrestaShop\Adapter\Tools::round',2462'PrestaShop\PrestaShop\Adapter\Tools::getShopDomainSsl',2463'PrestaShop\PrestaShop\Adapter\Tools::copy',2464'PrestaShop\PrestaShop\Adapter\Tools::sanitize',2465'PrestaShop\PrestaShop\Adapter\Tools::getAdminImageUrl',2466'PrestaShop\PrestaShop\Adapter\Tools::cleanNonUnicodeSupport',2467'PrestaShop\PrestaShop\Adapter\Tools::displayDate',2468'PrestaShop\PrestaShop\Adapter\Tools::truncateString',2469'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::processQuantityUpdate',2470'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::processProductOutOfStock',2471'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::processLocation',2472'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::processDependsOnStock',2473'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::processProductSpecificPrice',2474'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::validateSpecificPrice',2475'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::getSpecificPricesList',2476'PrestaShop\PrestaShop\Adapter\Product\PriceFormatter::convertAmount',2477'PrestaShop\PrestaShop\Adapter\Product\PriceFormatter::format',2478'PrestaShop\PrestaShop\Adapter\Product\PriceFormatter::convertAndFormat',2479'PrestaShop\PrestaShop\Adapter\Product\PackItemsManager::getPackItems',2480'PrestaShop\PrestaShop\Adapter\Product\PackItemsManager::getPacksContainingItem',2481'PrestaShop\PrestaShop\Adapter\Product\PackItemsManager::isPack',2482'PrestaShop\PrestaShop\Adapter\Product\PackItemsManager::isPacked',2483'PrestaShop\PrestaShop\Adapter\Product\AdminProductDataProvider::combinePersistentCatalogProductFilter',2484'PrestaShop\PrestaShop\Adapter\Product\AdminProductDataProvider::getCatalogProductList',2485'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::getSpecificPriceDataById',2486'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::deleteSpecificPrice',2487'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::getPricePriority',2488'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::processProductCustomization',2489'PrestaShop\PrestaShop\Adapter\Product\AdminProductDataProvider::mapLegacyParametersProductForm',2490'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::updateDownloadProduct',2491'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::processDeleteVirtualProductFile',2492'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::processDeleteVirtualProduct',2493'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::processAddAttachment',2494'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::processAttachments',2495'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::ajaxProcessUpdateImagePosition',2496'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::ajaxProcessUpdateImage',2497'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::getPreviewUrl',2498'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::getPreviewUrlDeactivate',2499'PrestaShop\PrestaShop\Adapter\Product\AdminProductWrapper::getPreviewUrlFromId',2500'PrestaShop\PrestaShop\Adapter\Product\AdminProductDataUpdater::activateProductIdList',2501'PrestaShop\PrestaShop\Adapter\Product\AdminProductDataUpdater::deleteProduct',2502'PrestaShop\PrestaShop\Adapter\Product\AdminProductDataUpdater::duplicateProduct',2503'PrestaShop\PrestaShop\Adapter\Product\AdminProductDataUpdater::sortProductIdList',2504'PrestaShop\PrestaShop\Adapter\Product\AttachmentDataProvider::getAllAttachments',2505'PrestaShop\PrestaShop\Adapter\Product\AttributeGroup\AttributeGroupViewDataProvider::__construct',2506'PrestaShop\PrestaShop\Adapter\Product\AttributeGroup\AttributeGroupViewDataProvider::isColorGroup',2507'PrestaShop\PrestaShop\Adapter\Product\AttributeGroup\AttributeGroupViewDataProvider::getAttributeGroupNameById',2508'PrestaShop\PrestaShop\Adapter\Product\AttributeGroup\AttributeGroupViewDataProvider::getAttributeGroupById',2509'PrestaShop\PrestaShop\Adapter\Product\AttributeGroup\AbstractAttributeGroupHandler::getAttributeGroupById',2510'PrestaShop\PrestaShop\Adapter\Image\Uploader\CategoryThumbnailImageUploader::upload',2511'PrestaShop\PrestaShop\Adapter\Image\Uploader\ProfileImageUploader::upload',2512'PrestaShop\PrestaShop\Adapter\Image\Uploader\ProfileImageUploader::deleteOldImage',2513'PrestaShop\PrestaShop\Adapter\Image\ImageRetriever::getImage',2514'PrestaShop\PrestaShop\Adapter\Image\ImageRetriever::getCustomizationImage',2515'PrestaShop\PrestaShop\Adapter\Product\PriceCalculator::getProductPrice',2516'PrestaShop\PrestaShop\Adapter\Product\PriceCalculator::priceCalculation',2517'PrestaShop\PrestaShop\Adapter\RoundingMapper::mapRounding',2518'PrestaShop\PrestaShop\Adapter\Product\ProductDataProvider::getProductInstance',2519'PrestaShop\PrestaShop\Adapter\Product\ProductDataProvider::getProduct',2520'PrestaShop\PrestaShop\Adapter\Product\ListParametersUpdater::cleanFiltersForPositionOrdering',2521'PrestaShop\PrestaShop\Adapter\Product\ProductDataProvider::getQuantity',2522'PrestaShop\PrestaShop\Adapter\Product\ProductDataProvider::getLocation',2523'PrestaShop\PrestaShop\Adapter\Product\ListParametersUpdater::getParameter',2524'PrestaShop\PrestaShop\Adapter\Product\ProductDataProvider::getImages',2525'PrestaShop\PrestaShop\Adapter\Product\ProductDataProvider::getImage',2526'PrestaShop\PrestaShop\Adapter\Webservice\WebserviceKeyStatusModifier::toggleStatus',2527'PrestaShop\PrestaShop\Adapter\Webservice\WebserviceKeyStatusModifier::setStatus',2528'PrestaShop\PrestaShop\Adapter\Requirement\CheckRequirements::fillMissingDescriptions',2529'PrestaShop\PrestaShop\Adapter\Requirement\CheckMissingOrUpdatedFiles::getListOfUpdatedFiles',2530'PrestaShop\PrestaShop\Adapter\Image\Uploader\AbstractImageUploader::uploadFromTemp',2531'PrestaShop\PrestaShop\Adapter\Image\Uploader\AbstractImageUploader::generateDifferentSize',2532'PrestaShop\PrestaShop\Adapter\Image\Uploader\AbstractImageUploader::resize',2533'PrestaShop\PrestaShop\Adapter\Image\Uploader\SupplierImageUploader::upload',2534'PrestaShop\PrestaShop\Adapter\Image\Uploader\SupplierImageUploader::deleteOldImage',2535'PrestaShop\PrestaShop\Adapter\Image\Uploader\CategoryCoverImageUploader::upload',2536'PrestaShop\PrestaShop\Adapter\Image\Uploader\CategoryCoverImageUploader::deleteOldImage',2537'PrestaShop\PrestaShop\Adapter\Image\Uploader\CategoryCoverImageUploader::uploadImage',2538'PrestaShop\PrestaShop\Adapter\Image\Uploader\CategoryCoverImageUploader::generateDifferentTypes',2539'PrestaShop\PrestaShop\Adapter\Image\Uploader\EmployeeImageUploader::upload',2540'PrestaShop\PrestaShop\Adapter\Image\Uploader\EmployeeImageUploader::deleteOldImage',2541'PrestaShop\PrestaShop\Adapter\Image\Uploader\ManufacturerImageUploader::upload',2542'PrestaShop\PrestaShop\Adapter\Image\Uploader\ManufacturerImageUploader::generateDifferentSizeImages',2543'PrestaShop\PrestaShop\Adapter\CMS\PageCategory\QueryHandler\GetCmsPageCategoryNameForListingHandler::__construct',2544'PrestaShop\PrestaShop\Adapter\CMS\PageCategory\QueryHandler\GetCmsPageCategoriesForBreadcrumbHandler::__construct',2545'PrestaShop\PrestaShop\Adapter\Image\Uploader\CategoryMenuThumbnailUploader::upload',2546'PrestaShop\PrestaShop\Adapter\CMS\CMSDataProvider::getCMSPages',2547'PrestaShop\PrestaShop\Adapter\CMS\CMSDataProvider::getCMSById',2548'PrestaShop\PrestaShop\Adapter\CMS\CMSDataProvider::getCMSChoices',2549'PrestaShop\PrestaShop\Adapter\Profile\CommandHandler\BulkDeleteProfileHandler::__construct',2550'PrestaShop\PrestaShop\Adapter\CMS\Page\CommandHandler\AbstractCmsPageHandler::getCmsPageIfExistsById',2551'PrestaShop\PrestaShop\Adapter\CMS\Page\CommandHandler\AbstractCmsPageHandler::assertCmsCategoryExists',2552'PrestaShop\PrestaShop\Adapter\Profile\CommandHandler\DeleteProfileHandler::__construct',2553'PrestaShop\PrestaShop\Adapter\CMS\Page\QueryHandler\GetCmsPageForEditingHandler::__construct',2554'PrestaShop\PrestaShop\Adapter\Profile\ProfileDataProvider::__construct',2555'PrestaShop\PrestaShop\Adapter\Profile\ProfileDataProvider::getProfiles',2556'PrestaShop\PrestaShop\Adapter\CMS\PageCategory\CategoriesProvider::__construct',2557'PrestaShop\PrestaShop\Adapter\CMS\PageCategory\CategoriesProvider::collectNestedCategoriesIdsAndNames',2558'PrestaShop\PrestaShop\Adapter\News\NewsDataProvider::__construct',2559'PrestaShop\PrestaShop\Adapter\News\NewsDataProvider::getData',2560'PrestaShop\PrestaShop\Adapter\Profile\Employee\CommandHandler\AddEmployeeHandler::assertEmailIsNotAlreadyUsed',2561'PrestaShop\PrestaShop\Adapter\CMS\PageCategory\CommandHandler\EditCmsPageCategoryHandler::assertCmsCategoryCanBeMovedToParent',2562'PrestaShop\PrestaShop\Adapter\Profile\Employee\CommandHandler\EditEmployeeHandler::assertEmailIsNotAlreadyUsed',2563'PrestaShop\PrestaShop\Adapter\Support\ContactRepository::findAllByLangId',2564'PrestaShop\PrestaShop\Adapter\Theme\ThemeMultiStoreSettingsFormDataProvider::__construct',2565'PrestaShop\PrestaShop\Adapter\Theme\ThemeMultiStoreSettingsFormDataProvider::doesConfigurationExistInSingleShopContext',2566'PrestaShop\PrestaShop\Adapter\Supplier\SupplierAddressProvider::getIdBySupplier',2567'PrestaShop\PrestaShop\Adapter\Supplier\CommandHandler\AbstractDeleteSupplierHandler::__construct',2568'PrestaShop\PrestaShop\Adapter\Supplier\SupplierDataProvider::getSuppliers',2569'PrestaShop\PrestaShop\Adapter\Supplier\SupplierDataProvider::getProductSuppliers',2570'PrestaShop\PrestaShop\Adapter\Supplier\SupplierDataProvider::getProductSupplierData',2571'PrestaShop\PrestaShop\Adapter\Supplier\SupplierDataProvider::getNameById',2572'PrestaShop\PrestaShop\Adapter\Supplier\SupplierLogoThumbnailProvider::getPath',2573'PrestaShop\PrestaShop\Adapter\Supplier\SupplierProductSearchProvider::getProductsOrCount',2574'PrestaShop\PrestaShop\Adapter\Address\CommandHandler\EditManufacturerAddressHandler::populateAddressWithData',2575'PrestaShop\PrestaShop\Adapter\Supplier\SupplierOrderValidator::hasPendingOrders',2576'PrestaShop\PrestaShop\Adapter\Cart\CommandHandler\UpdateCartDeliverySettingsHandler::getCartRuleForBackOfficeFreeShipping',2577'PrestaShop\PrestaShop\Adapter\Supplier\QueryHandler\GetSupplierForEditingHandler::__construct',2578'PrestaShop\PrestaShop\Adapter\Cart\CommandHandler\SendCartToCustomerHandler::getCustomer',2579'PrestaShop\PrestaShop\Adapter\StockManager::getStockAvailableByProduct',2580'PrestaShop\PrestaShop\Adapter\StockManager::updatePhysicalProductQuantity',2581'PrestaShop\PrestaShop\Adapter\StockManager::updateReservedProductQuantity',2582'PrestaShop\PrestaShop\Adapter\StockManager::newStockAvailable',2583'PrestaShop\PrestaShop\Adapter\StockManager::getStockAvailableIdByProductId',2584'PrestaShop\PrestaShop\Adapter\StockManager::outOfStock',2585'PrestaShop\PrestaShop\Adapter\NewProducts\NewProductsProductSearchProvider::getProductsOrCount',2586'PrestaShop\PrestaShop\Adapter\Kpi\MostCommonCustomersGenderKpi::__construct',2587'PrestaShop\PrestaShop\Adapter\Kpi\OrdersPerCustomerKpi::__construct',2588'PrestaShop\PrestaShop\Adapter\Feature\GroupFeature::update',2589'PrestaShop\PrestaShop\Adapter\Kpi\AverageProductsInCategoryKpi::__construct',2590'PrestaShop\PrestaShop\Adapter\Feature\CombinationFeature::update',2591'PrestaShop\PrestaShop\Adapter\Feature\FeatureDataProvider::getFeatures',2592'PrestaShop\PrestaShop\Adapter\Feature\FeatureDataProvider::getFeatureValuesWithLang',2593'PrestaShop\PrestaShop\Adapter\Feature\FeatureDataProvider::getFeatureValueLang',2594'PrestaShop\PrestaShop\Adapter\Kpi\DisabledCategoriesKpi::__construct',2595'PrestaShop\PrestaShop\Adapter\Feature\FeatureFeature::update',2596'PrestaShop\PrestaShop\Adapter\Kpi\EmptyCategoriesKpi::__construct',2597'PrestaShop\PrestaShop\Adapter\Kpi\TranslationsKpi::__construct',2598'PrestaShop\PrestaShop\Adapter\Routing\LegacyHelperLinkBuilder::getViewLink',2599'PrestaShop\PrestaShop\Adapter\Routing\LegacyHelperLinkBuilder::getEditLink',2600'PrestaShop\PrestaShop\Adapter\Routing\LegacyHelperLinkBuilder::buildActionParameters',2601'PrestaShop\PrestaShop\Adapter\Routing\LegacyHelperLinkBuilder::canBuild',2602'PrestaShop\PrestaShop\Adapter\Kpi\EnabledLanguagesKpi::__construct',2603'PrestaShop\PrestaShop\Adapter\Routing\AdminLinkBuilder::getViewLink',2604'PrestaShop\PrestaShop\Adapter\Routing\AdminLinkBuilder::getEditLink',2605'PrestaShop\PrestaShop\Adapter\Routing\AdminLinkBuilder::buildActionParameters',2606'PrestaShop\PrestaShop\Adapter\Kpi\NewsletterRegistrationsKpi::__construct',2607'PrestaShop\PrestaShop\Adapter\Routing\AdminLinkBuilder::canBuild',2608'PrestaShop\PrestaShop\Adapter\ServiceLocator::get',2609'PrestaShop\PrestaShop\Adapter\Kpi\AverageCustomerAgeKpi::__construct',2610'PrestaShop\PrestaShop\Adapter\Twig\LocaleExtension::__construct',2611'PrestaShop\PrestaShop\Adapter\Carrier\CarrierDataProvider::getCarriers',2612'PrestaShop\PrestaShop\Adapter\Kpi\TopCategoryKpi::__construct',2613'PrestaShop\PrestaShop\Adapter\Carrier\CarrierDataProvider::getActiveCarriersChoices',2614'PrestaShop\PrestaShop\Adapter\Validate::isOrderWay',2615'PrestaShop\PrestaShop\Adapter\Validate::isOrderBy',2616'PrestaShop\PrestaShop\Adapter\Validate::isDate',2617'PrestaShop\PrestaShop\Adapter\Validate::isCleanHtml',2618'PrestaShop\PrestaShop\Adapter\Validate::isModuleName',2619'PrestaShop\PrestaShop\Adapter\Validate::isLoadedObject',2620'PrestaShop\PrestaShop\Adapter\Validate::isLangIsoCode',2621'PrestaShop\PrestaShop\Adapter\Validate::isUnsignedInt',2622'PrestaShop\PrestaShop\Adapter\Validate::isLinkRewrite',2623'PrestaShop\PrestaShop\Adapter\AddressFactory::findOrCreate',2624'PrestaShop\PrestaShop\Adapter\AddressFactory::addressExists',2625'PrestaShop\PrestaShop\Adapter\Warehouse\WarehouseDataProvider::getWarehouseProductLocations',2626'PrestaShop\PrestaShop\Adapter\Warehouse\WarehouseDataProvider::getWarehouses',2627'PrestaShop\PrestaShop\Adapter\Warehouse\WarehouseDataProvider::getWarehouseProductLocationData',2628'PrestaShop\PrestaShop\Adapter\LegacyHookSubscriber::__call',2629'PrestaShop\PrestaShop\Adapter\Backup\Backup::__construct',2630'PrestaShop\PrestaShop\Adapter\Employee\NavigationMenuToggler::toggleNavigationMenuInCookies',2631'PrestaShop\PrestaShop\Adapter\Feature\MultistoreFeature::update',2632'PrestaShop\PrestaShop\Adapter\Employee\EmployeeDataProvider::getEmployeeHashedPassword',2633'PrestaShop\PrestaShop\Adapter\Employee\EmployeeDataProvider::isSuperAdmin',2634'PrestaShop\PrestaShop\Adapter\Employee\EmployeeFormAccessChecker::isRestrictedAccess',2635'PrestaShop\PrestaShop\Adapter\Employee\EmployeeFormAccessChecker::canAccessEditFormFor',2636'PrestaShop\PrestaShop\Adapter\Employee\FormLanguageChanger::changeLanguageInCookies',2637'PrestaShop\PrestaShop\Adapter\CombinationDataProvider::getFormCombination',2638'PrestaShop\PrestaShop\Adapter\CombinationDataProvider::getFormCombinations',2639'PrestaShop\PrestaShop\Adapter\CombinationDataProvider::completeCombination',2640'PrestaShop\PrestaShop\Adapter\CombinationDataProvider::getCombinationName',2641'PrestaShop\PrestaShop\Adapter\Import\Handler\ImportHandlerFinder::find',2642'PrestaShop\PrestaShop\Adapter\Currency\CommandHandler\ToggleCurrencyStatusHandler::__construct',2643'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::__construct',2644'PrestaShop\PrestaShop\Adapter\Currency\CommandHandler\ToggleExchangeRateAutomatizationHandler::__construct',2645'PrestaShop\PrestaShop\Adapter\Currency\CommandHandler\ToggleExchangeRateAutomatizationHandler::createCronJob',2646'PrestaShop\PrestaShop\Adapter\Currency\CommandHandler\ToggleExchangeRateAutomatizationHandler::removeConfigurationIfNotFoundOrIsDeactivated',2647'PrestaShop\PrestaShop\Adapter\Currency\CommandHandler\ToggleExchangeRateAutomatizationHandler::disableExchangeRatesScheduler',2648'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::createCategory',2649'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::fetchProductId',2650'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::loadShops',2651'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::loadManufacturer',2652'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::loadSupplier',2653'PrestaShop\PrestaShop\Adapter\Currency\CommandHandler\DeleteCurrencyHandler::__construct',2654'PrestaShop\PrestaShop\Adapter\Currency\CommandHandler\DeleteCurrencyHandler::assertDefaultCurrencyIsNotBeingRemoved',2655'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::loadCategory',2656'PrestaShop\PrestaShop\Adapter\Currency\CommandHandler\AddOfficialCurrencyHandler::findNumericIsoCodeFromAlphaCode',2657'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::loadProductData',2658'PrestaShop\PrestaShop\Adapter\Currency\CommandHandler\BulkToggleCurrenciesStatusHandler::__construct',2659'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::saveSpecificPrice',2660'PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider::__construct',2661'PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider::getCurrencies',2662'PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider::findAll',2663'PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider::getCurrencyByIsoCode',2664'PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider::getCurrencyByIsoCodeAndLocale',2665'PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider::getCurrencyByIsoCodeOrCreate',2666'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::saveProductTags',2667'PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider::getCurrencyById',2668'PrestaShop\PrestaShop\Adapter\Currency\QueryHandler\GetCurrencyForEditingHandler::__construct',2669'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::updateAdditionalData',2670'PrestaShop\PrestaShop\Adapter\Routes\RouteValidator::isRoutePattern',2671'PrestaShop\PrestaShop\Adapter\Routes\RouteValidator::doesRouteContainsRequiredKeywords',2672'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::saveStock',2673'PrestaShop\PrestaShop\Adapter\Hook\HookDispatcher::dispatch',2674'PrestaShop\PrestaShop\Adapter\Hook\HookDispatcher::doDispatch',2675'PrestaShop\PrestaShop\Adapter\Hook\HookDispatcher::dispatchForParameters',2676'PrestaShop\PrestaShop\Adapter\Hook\HookDispatcher::renderForParameters',2677'PrestaShop\PrestaShop\Adapter\Hook\HookDispatcher::dispatchWithParameters',2678'PrestaShop\PrestaShop\Adapter\Hook\HookDispatcher::dispatchRenderingWithParameters',2679'PrestaShop\PrestaShop\Adapter\Hook\HookInformationProvider::isDisplayHookName',2680'PrestaShop\PrestaShop\Adapter\Hook\HookInformationProvider::getHooks',2681'PrestaShop\PrestaShop\Adapter\Hook\HookInformationProvider::getModulesFromHook',2682'PrestaShop\PrestaShop\Adapter\Import\Handler\ProductImportHandler::supports',2683'PrestaShop\PrestaShop\Adapter\Country\CountryDataProvider::getCountries',2684'PrestaShop\PrestaShop\Adapter\Import\Handler\CategoryImportHandler::__construct',2685'PrestaShop\PrestaShop\Adapter\Country\CountryDataProvider::getIsoCodebyId',2686'PrestaShop\PrestaShop\Adapter\Country\CountryDataProvider::getIdByIsoCode',2687'PrestaShop\PrestaShop\Adapter\Import\Handler\CategoryImportHandler::checkCategoryId',2688'PrestaShop\PrestaShop\Adapter\Import\Handler\CategoryImportHandler::findParentCategory',2689'PrestaShop\PrestaShop\Adapter\Import\Handler\CategoryImportHandler::fillLinkRewrite',2690'PrestaShop\PrestaShop\Adapter\Translations\TranslationRouteFinder::isModuleUsingNewTranslationSystem',2691'PrestaShop\PrestaShop\Adapter\Import\Handler\CategoryImportHandler::createCategory',2692'PrestaShop\PrestaShop\Adapter\Import\Handler\CategoryImportHandler::supports',2693'PrestaShop\PrestaShop\Adapter\Import\Handler\AbstractImportHandler::__construct',2694'PrestaShop\PrestaShop\Adapter\Import\Handler\AbstractImportHandler::warning',2695'PrestaShop\PrestaShop\Adapter\Import\Handler\AbstractImportHandler::error',2696'PrestaShop\PrestaShop\Adapter\Import\Handler\AbstractImportHandler::notice',2697'PrestaShop\PrestaShop\Adapter\Import\Handler\AbstractImportHandler::fetchDataValueByKey',2698'PrestaShop\PrestaShop\Adapter\Import\Handler\AbstractImportHandler::fillEntityData',2699'PrestaShop\PrestaShop\Adapter\Import\Handler\AbstractImportHandler::addEntityWarning',2700'PrestaShop\PrestaShop\Adapter\Import\Handler\AbstractImportHandler::entityExists',2701'PrestaShop\PrestaShop\Adapter\Import\ImportEntityDeleter::__construct',2702'PrestaShop\PrestaShop\Adapter\Import\ImportEntityDeleter::deleteAll',2703'PrestaShop\PrestaShop\Adapter\Import\ImportDataFormatter::getBoolean',2704'PrestaShop\PrestaShop\Adapter\Import\ImportDataFormatter::getPrice',2705'PrestaShop\PrestaShop\Adapter\Import\ImportDataFormatter::createMultiLangField',2706'PrestaShop\PrestaShop\Adapter\Import\ImportDataFormatter::split',2707'PrestaShop\PrestaShop\Adapter\Import\ImportDataFormatter::createFriendlyUrl',2708'PrestaShop\PrestaShop\Adapter\Import\ImageCopier::__construct',2709'PrestaShop\PrestaShop\Adapter\Import\ImageCopier::copyImg',2710'PrestaShop\PrestaShop\Adapter\ClassLang::__construct',2711'PrestaShop\PrestaShop\Adapter\ClassLang::getClassLang',2712'PrestaShop\PrestaShop\Adapter\EntityMetaDataRetriever::getEntityMetaData',2713'PrestaShop\PrestaShop\Adapter\Kpi\MainCountryKpi::__construct',2714'PrestaShop\PrestaShop\Adapter\Environment::__construct',2715'PrestaShop\PrestaShop\Adapter\Customer\CommandHandler\AddCustomerHandler::__construct',2716'PrestaShop\PrestaShop\Adapter\Import\ImageCopier::getBestPath',2717'PrestaShop\PrestaShop\Adapter\Import\DataMatchSaver::__construct',2718'PrestaShop\PrestaShop\Adapter\Import\DataMatchSaver::save',2719'PrestaShop\PrestaShop\Adapter\Import\CsvFileOpener::rewindBomAware',2720'PrestaShop\PrestaShop\Adapter\Localization\LegacyTranslator::translate',2721'PrestaShop\PrestaShop\Adapter\Domain\AbstractObjectModelHandler::getTmpImageTag',2722'PrestaShop\PrestaShop\Adapter\Customer\CommandHandler\TransformGuestToCustomerHandler::__construct',2723'PrestaShop\PrestaShop\Adapter\Domain\AbstractObjectModelHandler::getImageSize',2724'PrestaShop\PrestaShop\Adapter\Customer\CustomerDataProvider::getCustomer',2725'PrestaShop\PrestaShop\Adapter\Customer\CustomerDataProvider::getCustomerAddresses',2726'PrestaShop\PrestaShop\Adapter\Customer\CustomerDataProvider::getDefaultGroupId',2727'PrestaShop\PrestaShop\Adapter\Invoice\OrderInvoiceDataProvider::getByStatus',2728'PrestaShop\PrestaShop\Adapter\Customer\CommandHandler\EditCustomerHandler::__construct',2729'PrestaShop\PrestaShop\Adapter\Customer\QueryHandler\GetCustomerForViewingHandler::__construct',2730'PrestaShop\PrestaShop\Adapter\Debug\DebugModeConfiguration::__construct',2731'PrestaShop\PrestaShop\Adapter\Debug\DebugModeConfiguration::updateDebugMode',2732'PrestaShop\PrestaShop\Adapter\Debug\DebugMode::updateDebugModeValueInMainFile',2733'PrestaShop\PrestaShop\Adapter\Debug\DebugMode::updateDebugModeValueInCustomFile',2734'PrestaShop\PrestaShop\Adapter\Customer\QueryHandler\GetCustomerForViewingHandler::getCustomerRankBySales',2735'PrestaShop\PrestaShop\Adapter\Debug\DebugMode::changePsModeDevValue',2736'PrestaShop\PrestaShop\Adapter\Grid\Search\Factory\SearchCriteriaWithCategoryParentIdFilterFactory::__construct',2737'PrestaShop\PrestaShop\Adapter\Grid\Action\Row\AccessibilityChecker\CategoryForViewAccessibilityChecker::__construct',2738'PrestaShop\PrestaShop\Adapter\Media\MediaServerConfiguration::isValidDomain',2739'PrestaShop\PrestaShop\Adapter\Upload\UploadQuotaConfiguration::getConfigurationKey',2740'PrestaShop\PrestaShop\Adapter\OrderReturnState\OrderReturnStateDataProvider::getOrderReturnStates',2741'PrestaShop\PrestaShop\Adapter\Presenter\Cart\CartPresenter::present',2742'PrestaShop\PrestaShop\Adapter\Presenter\Cart\CartPresenter::getShippingDisplayValue',2743'PrestaShop\PrestaShop\Adapter\Presenter\Cart\CartPresenter::cartVoucherHasFreeShipping',2744'PrestaShop\PrestaShop\Adapter\Presenter\Cart\CartPresenter::cartVoucherHasPercentReduction',2745'PrestaShop\PrestaShop\Adapter\Presenter\Cart\CartPresenter::cartVoucherHasAmountReduction',2746'PrestaShop\PrestaShop\Adapter\Presenter\Cart\CartPresenter::cartVoucherHasGiftProductReduction',2747'PrestaShop\PrestaShop\Adapter\Presenter\Cart\CartPresenter::getAttributesArrayFromString',2748'PrestaShop\PrestaShop\Adapter\Addons\AddonsDataProvider::request',2749'PrestaShop\PrestaShop\Adapter\Shop\CommandHandler\UploadLogosHandler::setUploadedFileToBeCompatibleWithLegacyUploader',2750'PrestaShop\PrestaShop\Adapter\Shop\Url\CmsProvider::getUrl',2751];...

Full Screen

Full Screen

Exceptions.php

Source:Exceptions.php Github

copy

Full Screen

...23 * @package ActiveRecord24 */25class DatabaseException extends ActiveRecordException26{27 public function __construct($adapter_or_string_or_mystery)28 {29 if ($adapter_or_string_or_mystery instanceof Connection)30 {31 parent::__construct(32 join(", ",$adapter_or_string_or_mystery->connection->errorInfo()),33 intval($adapter_or_string_or_mystery->connection->errorCode()));34 }35 elseif ($adapter_or_string_or_mystery instanceof \PDOStatement)36 {37 parent::__construct(38 join(", ",$adapter_or_string_or_mystery->errorInfo()),39 intval($adapter_or_string_or_mystery->errorCode()));40 }41 else42 parent::__construct($adapter_or_string_or_mystery);43 }44};45/**46 * Thrown by {@link Model}.47 *48 * @package ActiveRecord49 */50class ModelException extends ActiveRecordException {};51/**52 * Thrown by {@link Expressions}.53 *54 * @package ActiveRecord55 */56class ExpressionsException extends ActiveRecordException {};57/**58 * Thrown for configuration problems.59 *60 * @package ActiveRecord61 */62class ConfigException extends ActiveRecordException {};63/**64 * Thrown when attempting to access an invalid property on a {@link Model}.65 *66 * @package ActiveRecord67 */68class UndefinedPropertyException extends ModelException69{70 /**71 * Sets the exception message to show the undefined property's name.72 *73 * @param str $property_name name of undefined property74 * @return void75 */76 public function __construct($class_name, $property_name)77 {78 if (is_array($property_name))79 {80 $this->message = implode("\r\n", $property_name);81 return;82 }83 $this->message = "Undefined property: {$class_name}->{$property_name} in {$this->file} on line {$this->line}";84 parent::__construct();85 }86};87/**88 * Thrown when attempting to perform a write operation on a {@link Model} that is in read-only mode.89 *90 * @package ActiveRecord91 */92class ReadOnlyException extends ModelException93{94 /**95 * Sets the exception message to show the undefined property's name.96 *97 * @param str $class_name name of the model that is read only98 * @param str $method_name name of method which attempted to modify the model99 * @return void100 */101 public function __construct($class_name, $method_name)102 {103 $this->message = "{$class_name}::{$method_name}() cannot be invoked because this model is set to read only";104 parent::__construct();105 }106};107/**108 * Thrown for validations exceptions.109 *110 * @package ActiveRecord111 */112class ValidationsArgumentError extends ActiveRecordException {};113/**114 * Thrown for relationship exceptions.115 *116 * @package ActiveRecord117 */118class RelationshipException extends ActiveRecordException {};...

Full Screen

Full Screen

__construct

Using AI Code Generation

copy

Full Screen

1$adapter = new Adapter();2$adapter->connect();3$adapter->disconnect();4$adapter = new Adapter();5$adapter->connect();6$adapter->disconnect();7$adapter = new Adapter();8$adapter->connect();9$adapter->disconnect();10$adapter = new Adapter();11$adapter->connect();12$adapter->disconnect();13$adapter = new Adapter();14$adapter->connect();15$adapter->disconnect();16$adapter = new Adapter();17$adapter->connect();18$adapter->disconnect();19$adapter = new Adapter();20$adapter->connect();21$adapter->disconnect();22$adapter = new Adapter();23$adapter->connect();24$adapter->disconnect();25$adapter = new Adapter();26$adapter->connect();27$adapter->disconnect();28$adapter = new Adapter();29$adapter->connect();30$adapter->disconnect();31$adapter = new Adapter();32$adapter->connect();33$adapter->disconnect();34$adapter = new Adapter();35$adapter->connect();36$adapter->disconnect();37$adapter = new Adapter();38$adapter->connect();39$adapter->disconnect();40$adapter = new Adapter();41$adapter->connect();42$adapter->disconnect();43$adapter = new Adapter();44$adapter->connect();45$adapter->disconnect();

Full Screen

Full Screen

__construct

Using AI Code Generation

copy

Full Screen

1$adapter = new Adapter();2$adapter->get();3$adapter = new Adapter();4$adapter->get();5$adapter = new Adapter();6$adapter->get();7$adapter = new Adapter();8$adapter->get();9$adapter = new Adapter();10$adapter->get();11$adapter = new Adapter();12$adapter->get();13$adapter = new Adapter();14$adapter->get();15$adapter = new Adapter();16$adapter->get();17$adapter = new Adapter();18$adapter->get();19$adapter = new Adapter();20$adapter->get();21$adapter = new Adapter();22$adapter->get();23$adapter = new Adapter();24$adapter->get();25$adapter = new Adapter();26$adapter->get();27$adapter = new Adapter();28$adapter->get();29$adapter = new Adapter();30$adapter->get();31$adapter = new Adapter();32$adapter->get();33$adapter = new Adapter();34$adapter->get();

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Atoum automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Trigger __construct code on LambdaTest Cloud Grid

Execute automation tests with __construct on a cloud-based Grid of 3000+ real browsers and operating systems for both web and mobile applications.

Test now for Free

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful