REBELinBLUE\Deployer\Template::getCommandCountAttribute PHP Method

getCommandCountAttribute() public method

Define a accessor for the count of projects.
    public function getCommandCountAttribute()
    {
        return $this->commands()->count();
    }