renoki-co/php-k8s

View on GitHub
src/Traits/Resource/HasStatusConditions.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace RenokiCo\PhpK8s\Traits\Resource;

trait HasStatusConditions
{
    use HasStatus;

    /**
     * Get the status conditions.
     *
     * @return array
     */
    public function getConditions(): array
    {
        return $this->getStatus('conditions', []);
    }
}