WhenThenExpressionStub.php 386 B

1234567891011121314151617181920
  1. <?php
  2. declare(strict_types=1);
  3. namespace Cake\Test\test_app\TestApp\Stub;
  4. use Cake\Database\Expression\WhenThenExpression;
  5. class WhenThenExpressionStub extends WhenThenExpression
  6. {
  7. /**
  8. * Returns the `WHEN` value type.
  9. *
  10. * @return array|string|null
  11. * @see when()
  12. */
  13. public function getWhenType(): ?string
  14. {
  15. return $this->whenType;
  16. }
  17. }