Showing 10 of 1,204 results.
Returns a collection of Document instances. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getDocuments ( ) : Collection ;
Returns the number of template files discovered in the workspace. 1 <?php 2 3 public function getFileCount ( ) : int ;
Returns a value indicating if the workspace has any Blade comments. 1 <?php 2 3 public function hasAnyComments ( ) : bool ;
Tests if the workspace contains any Blade directives. 1 <?php 2 3 public function hasAnyDirectives ( ) : bool ;
Returns a value indicating if the workspace has any component tags. 1 <?php 2 3 public function hasAnyComponents ( ) : bool ;
Tests if the workspace contains a directive with the provided name. Argument Description $name The directive name. 1 <?php 2 3 public function hasDirective ( 4 string $ name 5 ) : bool ;
Tests if the workspace contains any node of the provided type. Argument Description $type The desired type. 1 <?php 2 3 public function hasAnyOfType ( 4 string $ type 5 ) : bool ;
Returns all the workspace structures. This method automatically performs structural analysis on a document. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllStructures ( ) : Collection ;
Returns all the workspaces' switch statements. This method automatically performs structural analysis. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllSwitchStatements ( ) : Collection ;