eZ\Publish\Core\Persistence\Legacy\Exception\RemoveLastGroupFromType::__construct PHP Method

__construct() public method

Creates a new exception for $typeId in $status;.
public __construct ( mixed $typeId, mixed $status )
$typeId mixed
$status mixed
    public function __construct($typeId, $status)
    {
        parent::__construct('$typeId', sprintf('Type with ID "%s" in status "%s" cannot be unlinked from its last group.', $typeId, $status));
    }
RemoveLastGroupFromType