Scalr\Model\Entity\Script::fetchVersions PHP 메소드

fetchVersions() 공개 메소드

Fetches list of the versions associated with the script (refreshes)
public fetchVersions ( ) : ArrayObject
리턴 ArrayObject Returns the list of ScriptVersion objects
    public function fetchVersions()
    {
        $this->_versions = ScriptVersion::result(ScriptVersion::RESULT_ENTITY_COLLECTION)->find([['scriptId' => $this->id]], null, ['version' => true]);
        return $this->_versions;
    }