Webmozart\Console\UI\Style\GridStyle::setCellAlignment PHP Метод

setCellAlignment() публичный Метод

Sets the cell alignment.
public setCellAlignment ( integer $alignment ) : static
$alignment integer One of the {@link Alignment} constants.
Результат static The current instance.
    public function setCellAlignment($alignment)
    {
        Assert::oneOf($alignment, Alignment::all(), 'The cell alignment must be one of the Alignment constants. Got: %s');
        $this->cellAlignment = $alignment;
        return $this;
    }