PHP 클래스 Google\Cloud\Dev\Snippet\SnippetTestCase

Snippet test cases should extend this class.
상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: GoogleCloudPlatform/gcloud-php

공개 메소드들

메소드 설명
__construct ( )
snippetFromClass ( string $class, string | integer $indexOrName ) : Snippet Retrieve a snippet from a class-level docblock.
snippetFromMagicMethod ( string $class, string $method, string | integer $indexOrName ) : Snippet Retrieve a snippet from a magic method docblock (i.e. @method tag nexted inside a class-level docblock).
snippetFromMethod ( string $class, string $method, string | integer $indexOrName ) : Snippet Retrieve a snippet from a method docblock.

메소드 상세

__construct() 공개 메소드

public __construct ( )

snippetFromClass() 공개 메소드

Retrieve a snippet from a class-level docblock.
public snippetFromClass ( string $class, string | integer $indexOrName ) : Snippet
$class string The class name.
$indexOrName string | integer The index of the snippet, or its name.
리턴 Snippet

snippetFromMagicMethod() 공개 메소드

Retrieve a snippet from a magic method docblock (i.e. @method tag nexted inside a class-level docblock).
public snippetFromMagicMethod ( string $class, string $method, string | integer $indexOrName ) : Snippet
$class string The class name
$method string The method name
$indexOrName string | integer The index of the snippet, or its name.
리턴 Snippet

snippetFromMethod() 공개 메소드

Retrieve a snippet from a method docblock.
public snippetFromMethod ( string $class, string $method, string | integer $indexOrName ) : Snippet
$class string The class name
$method string The method name
$indexOrName string | integer The index of the snippet, or its name.
리턴 Snippet