phug-php/phug

View on GitHub
src/Phug/Util/Util/Partial/PathTrait.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace Phug\Util\Partial;

/**
 * Class PathTrait.
 */
trait PathTrait
{
    use PathGetTrait;

    /**
     * @param string $path
     *
     * @return $this
     */
    public function setPath($path)
    {
        $this->path = $path;

        return $this;
    }
}