protected function canBuild()
    {
        $rebuild = false;

        if ($this->isBuilt()) {
            $rebuild = $this->askConfirmQuestion(
                'Project has already been built, do you want to rebuild?',
                false
            );

            if (!$rebuild) {
                return static::BUILD_ABORT;
            }
        }

        return !$rebuild ? static::BUILD_FRESH : static::BUILD_DIRTY;
    }
protected function canBuild()
    {
        $rebuild = false;

        if ($this->isBuilt()) {
            $rebuild = $this->askConfirmQuestion(
                'Project has already been built, do you want to rebuild?',
                false
            );

            if (!$rebuild) {
                return static::BUILD_ABORT;
            }
        }

        return !$rebuild ? static::BUILD_FRESH : static::BUILD_DIRTY;
    }
protected function canBuild ( ) { $ rebuild = false ; if ( $ this -> isBuilt ( ) ) { $ rebuild = $ this -> askConfirmQuestion ( 'Project has already been built, do you want to rebuild?' , false ) ; if ( ! $ rebuild ) { return static :: BUILD_ABORT ; } } return ! $ rebuild ? static :: BUILD_FRESH : static :: BUILD_DIRTY ; }
Can project run it's build process.

@return int
Return the build status.
Can project run it s build process .