Skip to content

Castor reference

Here is a reference of all the functions and attributes provided by Castor.

Functions

Castor provides the following built-in functions:

Vendor helpers

Some vendor helpers are also included natively in Castor:

  • Functions from symfony/string:
  • u
  • b
  • s

  • Functions from symfony/var-dumper:

  • dump
  • dd

Attributes

Castor provides the following attributes to register tasks, listener, etc:

Environment variables

Castor supports the following environment variables: