public function get($tableName)
    {
        $capsules = $this->all();

        foreach ($capsules as $capsule) {
            if ($capsule->tableName == $tableName) {
                return $capsule;
            }
        }

        return null;
    }
public function get($tableName)
    {
        $capsules = $this->all();

        foreach ($capsules as $capsule) {
            if ($capsule->tableName == $tableName) {
                return $capsule;
            }
        }

        return null;
    }
public function get ( $ tableName ) { $ capsules = $ this -> all ( ) ; foreach ( $ capsules as $ capsule ) { if ( $ capsule -> tableName == $ tableName ) { return $ capsule ; } } return null ; }
Gets a migration capsule from the file if any

@return mix (null || CrestApps\CodeGenerator\Models\MigrationTrackerCapsule)
Gets a migration capsule from the file if any