src/Rocketeer/Services/Releases/ReleasesManager.php
public function markRelease($release = null, $state = true)
    {
        $release = $release ?: $this->getCurrentRelease();

        // If the release is not null, mark it as valid
        if ($release) {
            $this->state[$release] = $state;
            $this->remoteStorage->set($release, $state);
            krsort($this->state);
        }
    }
public function markRelease($release = null, $state = true)
    {
        $release = $release ?: $this->getCurrentRelease();

        // If the release is not null, mark it as valid
        if ($release) {
            $this->state[$release] = $state;
            $this->remoteStorage->set($release, $state);
            krsort($this->state);
        }
    }
public function markRelease ( $ release = null , $ state = true ) { $ release = $ release ? : $ this -> getCurrentRelease ( ) ; // If the release is not null, mark it as valid if ( $ release ) { $ this -> state [ $ release ] = $ state ; $ this -> remoteStorage -> set ( $ release , $ state ) ; krsort ( $ this -> state ) ; } }
Assign a state to a release.

@param string|null $release
@param bool        $state
Assign a state to a release .