phug-php/parser

View on GitHub
Parser/Node/MixinCallNode.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Phug\Parser\Node;

use Phug\Parser\Node;
use Phug\Util\AttributesInterface;
use Phug\Util\AttributesOrderInterface;
use Phug\Util\Partial\AssignmentTrait;
use Phug\Util\Partial\AttributesOrderTrait;
use Phug\Util\Partial\AttributeTrait;
use Phug\Util\Partial\NameTrait;

class MixinCallNode extends Node implements AttributesInterface, AttributesOrderInterface
{
    use NameTrait;
    use AttributeTrait;
    use AssignmentTrait;
    use AttributesOrderTrait;

    /**
     * @var bool
     */
    private $argumentsCompleted = false;

    /**
     * @return mixed
     */
    public function areArgumentsCompleted()
    {
        return $this->argumentsCompleted;
    }

    /**
     * @return $this
     */
    public function markArgumentsAsComplete()
    {
        $this->argumentsCompleted = true;

        return $this;
    }
}