PHP Interface Google\Cloud\Dev\Snippet\Coverage\ScannerInterface

Datei anzeigen Open project: GoogleCloudPlatform/gcloud-php

Public Methods

Method Description
classes ( array $files ) : string[] Retrieve a list of classes in the given PHP files.
files ( ) : string[] Retrieve a list of PHP files to scan.
snippets ( array $classes ) : Snippet[] Get a list of all snippets from the given classes.

Method Details

classes() public method

Retrieve a list of classes in the given PHP files.
public classes ( array $files ) : string[]
$files array
return string[]

files() public method

Retrieve a list of PHP files to scan.
public files ( ) : string[]
return string[]

snippets() public method

Get a list of all snippets from the given classes.
public snippets ( array $classes ) : Snippet[]
$classes array
return Google\Cloud\Dev\Snippet\Parser\Snippet[]