renoki-co/php-k8s

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

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace RenokiCo\PhpK8s\Traits\Resource;

trait HasStatusPhase
{
    use HasStatus;

    /**
     * Get the status phase for the current resource.
     *
     * @return string|null
     */
    public function getPhase()
    {
        return $this->getStatus('phase', null);
    }
}