Showing 10 of 2,133 results.

getEchoes | Querying Document Nodes

…tatements from the document. Echo nodes are created after parsing the following types of syntax: Normal echo:, {{ $variable }}, Triple echo:, {{{ $variable }}}, Raw Echo:, {!! $variable !!} 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \...

getPhpBlocks | Workspaces

Returns all Blade php/endphp blocks within the workspace. Retrieves all raw PHP blocks within the workspace templates that were created using Blade's @php / @endphp directives. Raw @php directives that contain arguments will not be converted to...

Fluent and Closures | Laravel 5 Fluent API: The Public API

If we look at the following code example, one might be tempted to say that the value of $message would be Hello, world! , but that would be incorrect: 1 $ testObject = new stdClass ; 2 $ testObject -> method = function ( ) { 3 return ' Hello,...

Laravel Artisan Schedule Command: The schedule:run Command

The schedule:run command is used to run any commands that need to be ran. It is most often used in conjunction with a job or task scheduler utility, such as Cron. The command can be run in a one-off fashion like so: 1 # Run the schedule command...

Laravel 5.5 String Helper Method: contains

The contains helper method will check if any of the $needles are in the given $haystack . If any of the given $needles are found in the $haystack , the method will return true , otherwise it returns false . $needles can be any value that can be...

Grammar Files | Contributing

The Antlers TextMate grammar is located within the client's source directory, and be found at client/syntaxes/antlers.json .

Text Extraction

The document text extraction methods allow you to retrieve various information from the source template. For example, retrieving entire words at specific character offsets or their neighboring words is trivial.

Locale | Open Graph Metadata

The locale method queues a <meta property="og:locale" content="..."> tag. By default it will use the locale of the current site. This behavior can be modified by supplying a custom variable name or callback function. 1 <?php 2 3 use Stillat \...

Asset Container Does not Exist | Troubleshooting

If you've modified the asset container field name in the configuration file and are receiving errors stating the container does not exist, ensure that the asset container within the Social Media Image Kit fieldset has also been updated.