Showing 10 of 1,204 results.

getPhpBlocks | Workspaces

…templates that were created using Blade's @php / @endphp directives. Raw @php directives that contain arguments will not be converted to instances of PhpBlockNode , and will instead become instances of DirectiveNode . 1 <?php 2 3 use Stillat \...

getComponents | Workspaces

Returns all component tags within workspace document. This method will return all component tags within a document, including closing tags and self-closing tags. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function...

getOpeningComponentTags | Workspaces

Returns all self-closing or opening component tags within the workspace. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function getOpeningComponentTags ( ) : NodeCollection ;

findComponentsByTagName | Workspaces

Finds all components with the provided tag name. This method will return all component tags that match the provided name, including closing tags. Argument Description $tagName The tag name to filter on. 1 <?php 2 3 use Stillat \ BladeParser \...

allOfType | Workspaces

Finds all nodes of the provided type. Argument Description $type The type to search. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function allOfType ( 6 string $ type 7 ) : NodeCollection ;

allNotOfType | Workspaces

Finds all nodes that are not of the provided type. Argument Description $type The type to search. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function allNotOfType ( 6 string $ type 7 ) : NodeCollection ;

getText | Text Extraction

…nt text between two character offsets. Argument Description $startOffset The start offset. $endOffset The end offset. 1 <?php 2 3 public function getText ( int $ startOffset , 4 int $ endOffset ) : string ; Example Use 1 <?php 2 3 use Stillat \...

getWordAtOffset | Text Extraction

…Argument Description $offset The character offset. $chars A list of characters that won't break a word. 1 <?php 2 3 public function getWordAtOffset ( int $ offset , 4 array $ chars = [ ' - ' ] ) : string ; Example Use 1 <?php 2 3 use Stillat \...

getWordLeftAtOffset | Text Extraction

…ument Description $offset The character offset. $chars A list of characters that won't break a word. 1 <?php 2 3 public function getWordLeftAtOffset ( int $ offset , 4 array $ chars = [ ' - ' ] ) : string ; Example Use 1 <?php 2 3 use Stillat \...

getWordRightAtOffset | Text Extraction

…ment Description $offset The character offset. $chars A list of characters that won't break a word. 1 <?php 2 3 public function getWordRightAtOffset ( int $ offset , 4 array $ chars = [ ' - ' ] ) : string ; Example Use 1 <?php 2 3 use Stillat \...

Filter Search