CaseStatementExpressionStub.php 619 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. declare(strict_types=1);
  3. namespace Cake\Test\test_app\TestApp\Stub;
  4. use Cake\Database\Expression\CaseStatementExpression;
  5. class CaseStatementExpressionStub extends CaseStatementExpression
  6. {
  7. /**
  8. * Returns the case value type.
  9. *
  10. * @return string|null
  11. */
  12. public function getValueType(): ?string
  13. {
  14. return $this->valueType;
  15. }
  16. /**
  17. * Returns the type of the `ELSE` result value.
  18. *
  19. * @return string|null The result type, or `null` if none has been set yet.
  20. */
  21. public function getElseType(): ?string
  22. {
  23. return $this->elseType;
  24. }
  25. }