HasPackageWithSubpackage

Extends \Symfony\Component\Validator\Constraint

Validates whether a file, class, interface or trait always has a package if there is a subpackage present.

package

Default

Methods

Returns that the constraint can be put onto classes.

getTargets() : string

Response

string

Properties

message phpDocumentor uses codes that are defined in a messages.[lang].php file in the a plugin.

message : string
var

message phpDocumentor uses codes that are defined in a messages.[lang].php file in the a plugin.

Type(s)

string

code

code : 

Type(s)